User:FishTank/global.js

importArticles({   type: "script",    articles: [        "u:dev:WHAM/code.js",        "u:dev:AjaxPatrol/code.js",        "u:dev:AjaxRC/code.js",        "u:dev:AjaxDiff/code.js",        "u:dev:AjaxDelete/code.js",        "u:dev:CacheCheck/code.js",        "u:dev:QuickIW/code.js",        "u:dev:Message/code.js",        "u:dev:FindAndReplace/code.js",        "u:dev:PurgeButton/code.js",        "u:dev:QuickCreateUserPage/code.js"    ] });

window.AjaxDelete = { deleteReasons: { 'w:Help:Vandalism': 'Vandalism', 'w:Help:Spam': 'Spam', 'Marked for speedy deletion': 'Speedy', 'Empty page': 'Empty', 'Author request': 'Author request', 'Irrelevant to ': 'Irrelevant', 'Failed to comply with the manual of style for over 6 months': 'MoS' },   imageDeleteReasons: { 'Offensive': 'Offensive', 'Innapropiate': 'Innapropiate', 'Harassment': 'Harassment', 'Housekeeping/Unused': 'Unused', 'Copyright infringement': 'Copyright', 'Author request': 'Author request' },   autoCheckWatch: false, noUndelete: true };

AjaxDiff = { expiry: "1 week", reason: "Spam" };

cacheSkip = ['Specialpages', 'Deadendpages', 'Lonelypages', 'Uncategorizedcategories', 'Uncategorizedpages', 'Uncategorizedimages', 'Uncategorizedtemplates', 'Unusedcategories', 'Unusedimages', 'Unusedtemplates', 'UnusedVideos', 'Wantedcategories', 'Wantedpages', 'Wantedfiles', 'Wantedtemplates'];

var cvGlobalMatching = 'unchecked'; // Global matching, checked by default. var cvCaseSensitive = 'checked'; // Case sensitive, unchecked by default. var cvEnableRegex = 'checked'; // Regular expression, unchecked by default.

var i18n = { en: { infoboxes:'Infoboxes', templates:'Templates', sitecss:'Site CSS', personalcss:'My CSS', themescss:'Themes CSS', admins:'Admins', wikifeatures:'Wiki Features' },   de: { infoboxes:'Infoboxen', templates:'Vorlagen', sitecss:'Wikia CSS', personalcss:'Mein CSS', themescss:'Themes CSS', admins:'Administratoren', wikifeatures:'Wiki-Funktionen' },   fr: { infoboxes:'Infoboxes', templates:'Modèles', sitecss:'CSS du Site', personalcss:'Mon CSS', themescss:'CSS du thème', admins:'Administrateurs', wikifeatures:'Composants de Wiki', },   es: { infoboxes:'Infoboxes', templates:'Plantillas', sitecss:'CSS del sitio', personalcss:'Mi CSS', themescss:'Temas CSS', admins:'Admins' , wikifeatures:'Funcionalidades de Wiki' } },lang= mw.config.get('wgUserLanguage');

$('.wds-global-navigation__user-menu .wds-list > li:first') .before(''+i18n[lang].admins+'', ''+i18n[lang].infoboxes+'', ''+i18n[lang].templates+'', ''+i18n[lang].sitecss+'', '<a href="/wiki/MediaWiki:Themes.css?action=edit" class="wds-global-navigation__dropdown-link">'+i18n[lang].themescss+'</a></li>', '<a href="/wiki/Special:MyPage/wikia.css" class="wds-global-navigation__dropdown-link">'+i18n[lang].personalcss+'</a></li>', '<a href="/wiki/Special:WikiFeatures" class="wds-global-navigation__dropdown-link">'+i18n[lang].wikifeatures+'</a></li>');

var qtUserPageTemplate = '';