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;    }); }

// TWEAKS $(function {   $('  RC  ').insertBefore('.search-container');    $('  Admins  ').insertBefore('.search-container');    $('  WBB  ').insertBefore('.search-container');    $('  Global.js  ').insertBefore('.search-container'); });

// AjaxRC window.ajaxPages = ["Blog:Recent_posts","Special:Newwikis","Special:WikiActivity","Spezial:Letzte_Änderungen","Especial:CambiosRecientes","Specjalna:Ostatnie_zmiany","Special:Senaste_ändringar","Spécial:Modifications_récentes","Istimewa:Perubahan_terbaru","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 = 1000;

//—————————————————————————————— ! ! ! ———————————————————————————————// /* Import scripts. NOTE: Place scripts configurations above this line */

$(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:AjaxRC/code.js' ]   }); });