ESP Wiki is looking for moderators and active contributors!

Difference between revisions of "Template:Navbox"

(NOTE: this template has known problems, see Template talk:navbox. Help very welcome.)
Line 420: Line 420:
 
|<div style="font-size: smaller; text-align: center;">([http://endsoftpatents.org/donate donate] • [[finding things on en.swpat.org|Navigating the wiki]])<br /><tt>en.swpat.org</tt> is a ''<u>publicly<br />editable</u>'' wiki. '''Get involved!'''</div>
 
|<div style="font-size: smaller; text-align: center;">([http://endsoftpatents.org/donate donate] • [[finding things on en.swpat.org|Navigating the wiki]])<br /><tt>en.swpat.org</tt> is a ''<u>publicly<br />editable</u>'' wiki. '''Get involved!'''</div>
 
|}</div><noinclude>
 
|}</div><noinclude>
==Problems==
 
  
# '''Breaks the "''What links here''" functionality.'''  For example: [[Special:WhatLinksHere/Greece]] - but only three of those pages really intentionally link to [[Greece]].
+
NOTE: this template has known problems, see [[Template talk:navbox]].  Help very welcome.
# '''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.
 
# '''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===
 
 
 
# Use an <iframe> ? They're not allowed currently, but maybe that tag can be enabled.
 
# 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)?
 
# 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 {{SITENAME}}==
 
==Related pages on {{SITENAME}}==

Revision as of 10:05, 17 May 2010

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

NOTE: this template has known problems, see Template talk:navbox. Help very welcome.

Related pages on ESP Wiki