Skip to content
  • Samwilson's avatar
    Hide 'area' or 'status' column of index tables · cb6c55b2
    Samwilson authored and MusikAnimal's avatar MusikAnimal committed
    Depending on where the table is displayed, either the Focus area
    or Status column should be hidden.
    
    * Change the config.wishTemplate to not need the 'Template:' prefix (in keeping with other templates).
    * Update the demo focus area to not use {{shuffle}} and to have the demo wish in it.
    * Add a new Lua function for determining whether to show either of the two optional columns, area and status. It works based on the current page title, so in some contexts all columns are shown.
    * Use the new Lua function in the two places where wish index tables are built.
    * Fix bug in the Focus area template that was looking for the focus area rows in the wrong place (although this raises the question of where is best to keep the index pages, and we might want to have a new prefix for these).
    * Update some template documentation.
    
    Bug: T363235
    cb6c55b2