Difference between revisions of "MediaWiki:Common.js"

From Deh Cho BridgeWiki
Jump to: navigation, search
(added "shortmenus")
(commented out import of edit.js)
 
(6 intermediate revisions by 2 users 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'  
+
// importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript');
            + '&action=raw&ctype=text/javascript');
+
importScriptURI('http://wiki.dehchobridgeinfo.ca/extensions/popups/popups.js');
  
 
popupStructure='shortmenus';
 
popupStructure='shortmenus';
 +
popupSummaryData=false;
 +
popupInitialWidth=400;
 +
popupLastModified=false;

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;