Content deleted Content added
No edit summary |
Loads on Sandbox + bump version |
||
Line 23:
* MIT licensed (http://en.wikipedia.org/wiki/MIT_License)
* http://halfaker.info
* Version 1.0.4
WikiGnome is a collection of utilities that allow for easy minor modifications
Line 79:
//Decide whether to import the body of the script or not.
if(
wgPageName.search("/Sandbox") > 0 || (
wgNamespaceNumber % 2 == 0 && //Main articles (not talk)
wgNamespaceNumber != 10 && //No templates
wgNamespaceNumber != 14 && //No category pages
wgNamespaceNumber >= 0 && //No Special pages
getParameterByName('action') == '' && //No preview or edit
getParameterByName('diff') == '' && //No diffs
getParameterByName('oldid') == '' && //No old revisions
wgPageName.search(/.(js|css)$/) == -1
){
▲ importCSS("User:EpochFail/wikignome.css")
▲ importScript("User:EpochFail/wg_system.js")
}
|