User:Revi/global.js

/** If some methods in this page is deprecated and needs to be changed, feel free to do so.

If you're asked by me for help, feel free to edit.

Otherwise, come to my talk page and ask for an edit.

In a nutshell, read https://meta.wikimedia.org/wiki/User:-revi/global.js/doc. (not that you can change the real global.js anyway though). Beware, I am very serious about anyone editing this page.

// disable everything on global.js for wikibase wiki if ( mw.config.get("wgDBname") !== "reviwbwiki") {

/** * Navigation PopUps * See  * From MarcoAurelio's userpage :P */ mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&oldid=979415781&action=raw&ctype=text/javascript'); mw.loader.load(location.protocol + '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&oldid=825269631&action=raw&ctype=text/css', 'text/css'); // popupDelay=0.3; // popupHideDelay=0.3; popupFixDabs=true; popupOnEditSelection=false; popupAdminLinks=true;

// Load from wiki-assets.sumin.wiki. mw.loader.load('//wiki-assets.sumin.wiki/global.js');

// Cookie notice is fucking pure bullshit if($('input[name="disablecookiewarning"')[0]) $('input[name="disablecookiewarning"')[0].click; }