Difference between revisions of "MediaWiki:Common.js"
From Deh Cho BridgeWiki
(changed to use local version of popups.js) |
(commented out import of edit.js) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | /* Import more specific scripts if necessary */ | ||
+ | if (wgAction == 'edit' || wgAction == 'submit' || wgPageName == 'Special:Upload') { //scripts specific to editing pages | ||
+ | // importScript('MediaWiki:Common.js/edit.js'); | ||
+ | } | ||
+ | |||
// [[User:Lupin/popups.js]] | // [[User:Lupin/popups.js]] | ||
// importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript'); | // importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript'); |
Latest revision as of 20:08, 22 March 2012
/* Import more specific scripts if necessary */ if (wgAction == 'edit' || wgAction == 'submit' || wgPageName == 'Special:Upload') { //scripts specific to editing pages // importScript('MediaWiki:Common.js/edit.js'); } // [[User:Lupin/popups.js]] // importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript'); importScriptURI('http://wiki.dehchobridgeinfo.ca/extensions/popups/popups.js'); popupStructure='shortmenus'; popupSummaryData=false; popupInitialWidth=400; popupLastModified=false;