User:Cheeseskates/global.js

// Quick Access to user's EditCount if ( $('.tally').length ) { var $tally = $('.tally'); $tally.attr('title', 'EditCount'); $tally.click(function {       window.location.href = wgServer + '/wiki/Special:EditCount/' + $('h1[itemprop="name"]').text;    }); }

// Always show bots on the Recent Changes page $('a').each(function {  if ( $(this).attr('href') == '/wiki/Special:RecentChanges' ) {      $(this).attr('href', '/wiki/Special:RecentChanges?hidebots=0');   } }); // AjaxRC window.ajaxRefresh = 1000; window.ajaxPages = [ /* watchlist specific pages (temporary) */ /* Put any page name or URL into this list to monitor this page. Example: pagename?action=history */

// ————————————————————————————————————————————————————————————————————————— //

/* Pages with AjaxRC active categorized in different languages */ /* Note: The first language name is the english word. The second language name is the language's word/original word. The two letters after are the abbreviations for the second language names.

Always add them in this order: English word -> Original -> Abbreviation (fr) */

/* English (en) */ "Special:WikiActivity","Special:RecentChanges","Special:Log","Report:Vandalism",

/* German (Deutsch) (de) */ "Spezial:WikiActivity","Spezial:Letzte_Änderungen","Spezial:Logbuch",

/* Spanish (Español) (es) */ "Especial:WikiActivity","Especial:CambiosRecientes","Especial:Registro",

/* Suomi (Finnish) (fi) */ "Toiminnot:WikiActivity","Toiminnot:Tuoreet_muutokset","Toiminnot:Loki",

/* French (Français) (fr) */ "Spécial:WikiActivity","Spécial:Modifications_récentes","Spécial:Journal",

/* Italian (Italiano) (it) */ "Speciale:WikiActivity","Speciale:UltimeModifiche","Speciale:Registri",

/* Japanese (日本語) (ja) */ "特別:WikiActivity","特別:最近の更新","特別:ログ",

/* Korean (한국어) (ko) */ "특수기능:위키활동내역","특수기능:최근바뀜","특수기능:기록",

/* Nederlands (nl) */ "Speciaal:WikiActivity","Speciaal:RecenteWijzigingen","Speciaal:Logboeken",

]; // TWEAKS $(function {   $('  Admins  ').insertBefore('.search-container');    $('  Undertale  ').insertBefore('.search-container');    $('  SU  ').insertBefore('.search-container');    $('  VSTF  ').insertBefore('.search-container');    $('  Global.js  ').insertBefore('.search-container'); }); //Linksweeper linkSweepConfirmation = true; LinkSweeperDelay = 3000; // WHAM WHAMBotMe = true; WHAMBotReason = "Cleanup"; WHAMDelay = 1000; $(window).load(function {   importScriptPage('User:Dorumin/WHAM', 'starmanw'); }); // CacheCheck window.cacheSkip = []; window.cacheSkipLimit = 1000; window.topLevelCat = ''; // Fast Delete var fdButtons = []; fdButtons[fdButtons.length] = {'summary': 'spam','label': 'S'}; fdButtons[fdButtons.length] = {'summary': 'vandalism','label': 'V'}; fdButtons[fdButtons.length] = {'summary': 'Housekeeping','label': 'HK'}; fdButtons[fdButtons.length] = {'summary': 'Cleanup','label': 'C'}; fdButtons[fdButtons.length] = {'summary': 'Unused','label': 'U'}; fdButtons[fdButtons.length] = {'summary': 'Unofficial/Not-Needed/Irrelevant','label': 'UNI'}; fdButtons[fdButtons.length] = {'summary': 'Other reason','label': 'Other'};

/* AjaxBlock Configuration */

window.AjaxBlock = { expiryTimes: { '2 hours': '2 hours', '1 day': 'one day', '1 week': 'a week', '2 months': '2 months', 'never': 'Never' },   blockReasons: { 'w:Help:Vandalism': 'Vandalism', 'w:Help:Spam': 'Spam', 'Under the legal age': 'COPPA', 'Removing information/blanking articles': 'Blanking', 'bad roleplaying': 'Bad RP', 'Failing to comply with the File Policy': 'File policy' },   check: { creation: false, talk: true, autoBlock: true, override: true } };

/* AjaxDelete Configuration */

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: true, noUndelete: false }; //—————————————————————————————— ! ! ! ———————————————————————————————// $(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:AjaxBlock/code.js', 'u:dev:MediaWiki:AjaxDelete/code.js', 'u:dev:MediaWiki:AjaxPatrol/code.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:AjaxRedirect/code.js', 'u:dev:MediaWiki:AjaxRC/code.js', 'u:dev:MediaWiki:AutoEditDropdown/code.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:ArchiveTool/code.js', 'u:dev:MediaWiki:CacheCheck/code.js', 'u:dev:MediaWiki:CategoryRenameAuto-update/code.js', 'u:dev:MediaWiki:ChatHacks.js', 'u:dev:MediaWiki:ChatModHover/code.js', 'u:dev:MediaWiki:ChatTimestamps/code.js', 'u:dev:MediaWiki:CleanWantedFiles/code.js', 'u:dev:MediaWiki:DisplayTimer/code.js', 'u:dev:MediaWiki:EditIntroButton/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:MediaWiki:FindAndReplace/code.js', 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:Linksweeper/code.js', 'u:dev:MediaWiki:MassRenameRevert/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MultipleFileDelete/code.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:QuickToolsv2/code.js', 'u:dev:MediaWiki:QuickModTools/loader.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:RevealAnonIP/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:kocka:MediaWiki:AjaxCommentDelete/code.js', 'u:kocka:MediaWiki:AjaxThreadDelete/code.js', 'u:starmanw:MediaWiki:QuickLogs/code.js' ]   }); });