ESP Wiki is looking for moderators and active contributors!

Template:Navbox

(donateNavigating the wiki)
en.swpat.org is a publicly
editable
wiki. Get involved!

Problems

  1. Breaks the "What links here" functionality. For example: Special:WhatLinksHere/Greece - but only three of those pages really intentionally link to Greece.
  2. Updating requires too much manual work. We need a script that will check which pages are not in any of the boxes. The obvious way to do this is to maintain a table of all the articles and which boxes they're in. Checking could be done at any time by downloading the list of current articles and running the script to check which current articles aren't in the table. Then we add those. Then review the table. Then another script would generate Template:navbox based on the table.
  3. Looks awful without javascript - if you turn off javascript, this displays with all sections open i.e. a list of 200+ links at the top of the article.

Possible solutions

  1. Use an <iframe> ? They're not allowed currently, but maybe that tag can be enabled.
  2. Does MediaWiki use templates for the HTML files, for which we could patch it (and remember to apply the patch each time we upgrade the software, and check for breakage)?
  3. Borrow the javascript detection code that MediaWiki uses to display the edit buttons (bold, italic, link... at th top of the edit box) and then use the <noscript> tag to display a list of ~6 overview articles instead of the box whenever the page is viewed without javascript.

Related pages on ESP Wiki