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. */ // 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']; /* AjaxDelete configuration */ window.AjaxDelete = { deleteReasons: { 'Vandalism': 'Vandalism', 'Spam': 'Spam', 'Marked for deletion': 'Marked for deletion', '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;

/* WHAM configuration */ window.WHAMBotMe = true; window.WHAMBotReason = "Cleanup"; window.WHAMDelay = 100; window.WHAMDeleteReason = "Housekeeping"; window.WHAMBlockReason = "Vandalism";

/* --      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:Thread Inspection/code.js',        'u:dev:MediaWiki:UTCClock/code.js', // Show UTC clock        'u:dev:MediaWiki:View Source/code.js',        'u:dev:MediaWiki:WHAM/code.2.js',        // ...    ] });

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