User:Starkillerbot/global.js

// Always show bots--Full Credits goes to Dorumin $('a').each(function {  if ( $(this).attr('href') == '/wiki/Special:RecentChanges' ) {      $(this).attr('href', '/wiki/Special:RecentChanges?hidebots=0');   } }); // Remove MPC--Full Credits goes to Dorumin if ( $(".youtubeplayer").length ) { $('ul.tools li:first-child:not(.tools-menu li)').after('Remove MPC'); $(".removeMPC").click(function {       $(".youtubeplayer").remove;        $(".removeMPC").remove;    }); } // Quick Access to EditCount--Full Credits goes to Dorumin if ( $('.tally').length ) { var $tally = $('.tally'); $tally.attr('title', 'EditCount'); $tally.click(function {       window.location.href = wgServer + '/wiki/Special:EditCount/' + $('h1[itemprop="name"]').text;    }); } // AjaxRC window.ajaxPages = ["Blog:Recent_posts","Special:WikiActivity","Spezial:Letzte_Änderungen","Especial:CambiosRecientes","Specjalna:Ostatnie_zmiany","Special:Senaste_ändringar","Spécial:Modifications_récentes","Speciális:Friss_változtatások","Speciale:UltimeModifiche","Especial:Mudanças_recentes","特別:最近の更新","Toiminnot:Tuoreet_muutokset","Special:最近更改","Özel:SonDeğişiklikler","Speciaal:RecenteWijzigingen","Đặc_biệt:Thay_đổi_gần_đây","Special:RecentChanges","Special:Log","Special:Log/newusers","Special:Log/useravatar","Special:Images","특수기능:최근바뀜","Служебная:RecentChanges"]; window.ajaxRefresh = 20000;

// Other $('Global.js').insertAfter('.AccountNavigation .subnav li:first'); $('ListSysops').insertBefore('.AccountNavigation .subnav li:first'); $('RecentChanges').insertBefore('.AccountNavigation .subnav li:first');

$(window).load(function {   if ( $("#backtotop").length ) { // Damn back to top button        mw.util.addCSS('#displayTimer { position: absolute;  margin-left: 700px; }');    } });

// CacheCheck window.cacheSkip = []; window.cacheSkipLimit = 1000; window.topLevelCat = '';

// Javascripts importArticles({   type: "script",    articles: [        'u:dev:MediaWiki:AjaxDiff/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:CacheCheck/code.js',        'u:dev:MediaWiki:CategoryRenameAuto-update/code.js',        'u:dev:MediaWiki:ChatTimestamps/code.js',        'u:dev:MediaWiki:CleanWantedFiles/code.js',        'u:dev:MediaWiki:ContribsLink/code.js',        'u:dev:MediaWiki:DisplayTimer/code.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:LastEdited/code.js',        'u:dev:MediaWiki:MassRenameRevert/code.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:MultipleFileDelete/code.js',        'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:QuickToolsv2/code.js', 'u:dev:MediaWiki:RevealAnonIP/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:sonako:MediaWiki:TopAndDownButtons.js', 'u:starmanw:MediaWiki:MultiUpload/code.js', 'u:starmanw:MediaWiki:QuickLogs/code.js', ] });