User:FishTank/global.js

importArticles({   type: "script",    articles: [        "u:dev:AjaxDelete/code.js",        "u:dev:AjaxDiff/code.js",        "u:dev:AjaxPatrol/code.js",        "u:dev:AjaxRC/code.js",        "u:dev:CacheCheck/code.js",        "u:dev:FindAndReplace/code.js",        "u:dev:MassCategorization/code.js",        "u:dev:MassNullEdit/code.js",        "u:dev:Message/code.js",        "u:dev:NullEditButton/code.js",        "u:dev:PurgeButton/code.js",        "u:dev:QuickCreateUserPage/code.js",        "u:dev:VanguardTools.js",        'u:dev:View Raw/code.js',        "u:dev:ViewRemoved/code.js",        'u:dev:View Source/code.js',    ] }); massCategorizationDelay = 1000; nullEditDelay = 1000; nullEditUserButton = true; 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 qtUserPageTemplate = '';

/* $('.insights-list-item-page').each(function {   var $this = $(this),        $link = $this.find('.insights-list-item-title'),        link = $link.text;    $link.after(['sandbox', 'testcases', 'doc'].map(function(el) {        return $('', { 'class': 'insights-list-item-add insights-list-item-' + el, href: mw.util.getUrl(link + '/' + el), text: el       });    })); }); mw.util.addCSS(   '.insights-list-item .insights-list-item-title {' +        'display: inline;' +        'margin-right: 5px;' +    '}' +    '.insights-list-item .insights-list-item-add {' +        'margin-right: 2px;' +    '}' +    '.insights-list-item .insights-list-item-add:before {' +        'content: "(";' + '}' +   '.insights-list-item .insights-list-item-add:after {' + 'content: ")";' +   '}' );