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 23:51, 1 January 2015 (version 2.0.0 – bug fixes, source original cactions.js for non-vector skins). 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
// Version:        2.0.0
// Author:         MusikAnimal, Haza-w
// Documentation:  [[User:MusikAnimal/MoreMenu]]
//

(function(){
	if(mw.config.get('skin') === "vector") {
		importScriptURI("//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/MoreMenu-core-sandbox.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");
	}
})();