19,670
edits
m (making my comments *not* destroy the page width) |
(commenting out importScript lines that don't work for now anyway; I *could* fold that linked-to code into this document, but a wiki update may happen soon so I'll just wait till this can be used as-is) |
||
| Line 5: | Line 5: | ||
/* Import more specific scripts if necessary */ | /* Import more specific scripts if necessary */ | ||
if (wgAction == "edit" || wgAction == "submit" || wgPageName == "Special:Upload") //scripts specific to editing pages | /*if (wgAction == "edit" || wgAction == "submit" || wgPageName == "Special:Upload") //scripts specific to editing pages | ||
{ | { | ||
importScript("MediaWiki:Common.js/edit.js") | importScript("MediaWiki:Common.js/edit.js") | ||
| Line 16: | Line 16: | ||
{ | { | ||
importScript("MediaWiki:Common.js/search.js") | importScript("MediaWiki:Common.js/search.js") | ||
} | }*/ | ||
//The above code can be restored if the wiki is updated to >= v1.13 | |||
| Line 33: | Line 34: | ||
} | } | ||
}*/ | }*/ | ||
/*The above code can be restored if the wiki is updated to >= v1.13*/ | |||
/* | |||
// addOnloadHook( sysopFunctions ); // be sure to uncomment this if restoring above code | // addOnloadHook( sysopFunctions ); // be sure to uncomment this if restoring above code | ||
| Line 87: | Line 82: | ||
if (navigator.appVersion.substr(22, 1) == "6") | if (navigator.appVersion.substr(22, 1) == "6") | ||
{ | { | ||
importScript("MediaWiki:Common.js/IE60Fixes.js") | //importScript("MediaWiki:Common.js/IE60Fixes.js") | ||
//The above code can be restored if the wiki is updated to >= v1.13 | |||
} | } | ||
} | } | ||