User:StrawberryMaster/global.js

/** * This file loads for myself. * The majority of the scripts here are for personal use as they modify parts of the Oasis skin violating Fandom's Terms of Use. * * Any content here taken from another user is properly given attribution. * * As of February 15, 2020, this is version 80. */ // 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 }; /* QuickCreateUserPage configuration */ window.qtUserPageTemplate = ''; window.qtEnableUserPageOverwrite = 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:QuickCreateUserPage/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        'u:dev:MediaWiki:View Source/code.js',        // ...    ] });

/* - END of User:StrawberryMaster/global.js */ console.info('Loaded User:StrawberryMaster/global.js version 79');