Jump to content

User:MusikAnimal/MoreMenu.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MusikAnimal (talk | contribs) at 06:23, 2 January 2015 (version pertains to core code, not here). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//
// Script:         MoreMenu.js
// Authors:        MusikAnimal, Haza-w
// Documentation:  [[User:MusikAnimal/MoreMenu]], [[User:Haza-w/Drop-down menus]]
//

(function(){
	if(mw.config.get('skin') === "vector") {
		importScriptURI("//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/MoreMenu-core.js");
	} else {
		importScriptURI("//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-dropdown-menus.js");
		importStylesheetURI("//en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-dropdown-menus.css");
	}
})();