Content deleted Content added
No edit summary |
Don't load on .js or .css files. |
||
Line 75:
}
//Decide whether to import the body of the script
if(
(
wgPageName.search("
wgNamespaceNumber == 0 //Main namespace articles
) &&
getParameterByName('action') == '' && //No preview or edit
getParameterByName('diff') == '' && //No diffs
wgPageName.search(/.(js|css)$/) == -1 //No javascript or css
){
//Import CSS
importCSSURI("http://www-users.cs.umn.edu/~halfak/wikignome
//Import script Body
importScriptURI("http://www-users.cs.umn.edu/~halfak/wikignome
}
|