ESP Wiki is looking for moderators and active contributors!

Difference between revisions of "Template:Navbox"

(update)
(===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 rem)
Line 420: Line 420:
 
==Problems==
 
==Problems==
  
* This breaks the "''What links here''" functionality.  For example: [[Special:WhatLinksHere/Greece]] - but only three of those pages really intentionally link to [[Greece]].
+
# '''Breaks the "''What links here''" functionality.''' For example: [[Special:WhatLinksHere/Greece]] - but only three of those pages really intentionally link to [[Greece]].
* 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.
+
# '''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.
 +
 
 +
===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)?
  
 
==Related pages on {{SITENAME}}==
 
==Related pages on {{SITENAME}}==

Revision as of 09:12, 14 May 2010

(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.

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)?

Related pages on ESP Wiki