User:Quarl/___location canonicalize.js: Difference between revisions

Content deleted Content added
«"addTab(" → "if (!document.menuAutoEdit) { document.menuAutoEdit = wikitabs.addTabMenu('AutoEdit', 'mn-autoedit'); } wikitabs.addLiLink(document.menuAutoEdit, "»
«+"as per Wikipedia:WikiProject Location Format", "requires" → "depends", "addlilink" → "wikitabs"»
Line 1:
// [[User:Quarl/location_canonicalize.js]] - canonicalizes ___location WikiLinks as per [[Wikipedia:WikiProject Location Format]]
 
// Example: [[Seattle, Washington]] becomes [[Seattle, Washington|Seattle]], [[Washington]], [[USA]].
 
// requiresdepends: wikipage.js, util.js, addlilinkwikitabs.js
 
// quarl 2006-01-22 initial version