User:PassionFruitMaster/global.js

// Disable the 5 sec. edit save delay $(function { $("#editform").off("submit").on("submit", function { $(window).unbind('.leaveconfirm'); }); });

/* AjaxRC configuration */ window.ajaxRefresh     = 1E3; window.ajaxPages       = ['Blog:Recent_posts', 'Special:Chat']; window.ajaxSpecialPages = ['Recentchanges', 'WikiActivity', 'Watchlist', 'Log', 'Log/upload', 'Log/newusers']; window.ajaxIndicator = 'https://images.wikia.com/dev/images/8/82/Facebook_throbber.gif'; $.extend(true, window, {dev: {i18n: {overrides: {AjaxRC: {   'ajaxrc-refresh-text': 'Auto-refresh',    'ajaxrc-refresh-hover': 'Automatically refresh the page', }}}}});

/* AjaxDelete configuration */ window.AjaxDelete = { deleteReasons: { 'Vandalism': 'Vandalism', 'Spam': 'Spam', 'Marked for speedy deletion': 'Speedy', 'Empty page': 'Empty', 'Author request': 'Author request', 'Irrelevant to the wiki': 'Irrelevant', 'Housekeeping': 'Housekeeping' },   imageDeleteReasons: { 'Offensive': 'Offensive', 'Inappropriate': 'Inappropriate', 'Harassment': 'Harassment', 'Housekeeping': 'Cleanup', 'Copyright infringement': 'Copyright', 'Author request': 'Author request', 'Unused article/file': 'Unused' },   autoCheckWatch: false, noUndelete: true }; /* QuickToolsv2 configuration */ window.QuickToolsAdvancedtop = false;

/* --      importArticles -- */

importArticles({   type: 'script',    articles: [        // ...        'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:AjaxBlock/code.js', // Blocks users quickly        'u:dev:MediaWiki:AjaxDelete/code.js',        'u:dev:MediaWiki:AjaxPatrol/code.js',        'u:dev:MediaWiki:AjaxRC/code.js', // Special:RecentChanges live update        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:Mediawiki:QuickToolsv2/code.js', // Quick tools        'u:dev:MediaWiki:Thread Inspection/code.js',        'u:dev:MediaWiki:UTCClock/code.js', // Show UTC clock        // ...    ] });