User:RuthlessChimpanzee/global.js

/* APIQuery, B3, wham, chat hacks, other import crap */ importArticles({   type: "script",    articles: [	"u:dev:SearchSuggest/code.js",			/* Sugestie do wyników wyszukiwania */	"u:dev:WallGreetingButton/code.js",		/* Przycisk edytowania powitania na Tablicy */	"u:dev:View_Source/code.js",                    /* Przycisk "Tekst źródłowy" bez ładowania edytora*/	"u:dev:PortableCSSPad/code.js",			/* PortableCSSPad */	"u:monchbox:MediaWiki:APIQuery.js",	"u:monchbox:MediaWiki:B3.js",	"u:wikimarks:Client.js"   	] });

/* redo links on user nav to be more useful */ function RedefineUserNav { $('.AccountNavigation .subnav li:first-child').replaceWith('TalkContributions'); $('.AccountNavigation .subnav li a[href="/wiki/Special:Preferences"]').replaceWith('Preferences'); $('.AccountNavigation .subnav li a[href="/wiki/Special:Following"]').replaceWith('Sandbox'); $('.AccountNavigation .subnav li a[href="/wiki/Help:Contents"]').replaceWith('<a href="http://community.wikia.com/wiki/Forum:Index">Central Forum</a></li><a href="http://community.wikia.com/wiki/User:'+ wgUserName +'/global.js">global.js</a></li><a href="http://community.wikia.com/wiki/User:'+ wgUserName +'/global.css">global.css</a></li>'); $('.AccountNavigation .subnav').css({'width': "133px"}); } if((!localStorage.getItem('globalJS') || localStorage.getItem('globalJS') == 'true') && skin == 'oasis') {addOnloadHook(RedefineUserNav);}