User:Nixinova/common.js

/* Scripts */

// Force load Mobile.js mw.loader.load('/index.php?title=Mediawiki:Mobile.js&action=raw&ctype=text/javascript');

// Load user scripts mw.loader.load('/index.php?title=User:Nixinova/version-autocorrect.js&action=raw&ctype=text/javascript'); mw.loader.load('/index.php?title=User:Nixinova/Newest_article.js&action=raw&ctype=text/javascript'); //mw.loader.load('/index.php?title=User:Nixinova/FTB_note.js&action=raw&ctype=text/javascript');

// Custom title shortcuts window.shortcut_replacements = [ ['^\\bje\\b', 'Java Edition '], ['^\\bbe\\b', 'Bedrock Edition '], ['^\\bee\\b', 'Education Edition '], ['^\\bnn\\b', 'User:Nixinova'], ['\\bpd\\b', 'Pending deletion'] ]; mw.loader.load('/index.php?title=User:Nixinova/namespace-shortcuts.js&action=raw&ctype=text/javascript');

// One-click archiver mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Technical_13/Scripts/OneClickArchiver.js&action=raw&ctype=text/javascript");

// JS Wiki Browser mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');

/* Style */

// Collapse headers $('h2').removeClass('open-block'); $('h2 + div').removeClass('open-block').attr('aria-expanded','false').attr('aria-pressed','false'); // Remove Fandom stuff $('footer').remove

/* Any JavaScript here will be loaded for users using the mobile site */ /* MF broke the mobile styles loading in 1.31 */ mw.loader.load( 'mobile.site.styles' );