User:Tama63/wikia.js

Replaces with the name of the user browsing the page. Requires copying Template:USERNAME. function substUsername { $('.insertusername').html(wgUserName); } /****************************/ /* IMPORTED START from players wiki    */ /****************************/ /* Standard edit summaries*/ importScript('MediaWiki:Common.js/es.js', 'potcoplayers');

/* Ajax Auto-Refresh (courtesy pcj) */ /* Auto updating recent changes opt-in * See w:c:dev:AjaxRC for info & attribution */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev');

/* Collapsible Tables */ importScript('MediaWiki:Common.js/collapsetables.js', 'potcoplayers'); /* Custom edit buttons */ importScript('MediaWiki:Common.js/CEB.js', 'potcoplayers'); /** Dynamic Navigation Bars (experimental)**/ importScript('MediaWiki:Common.js/Nav.js', 'potcoplayers'); /* other */ importScript('MediaWiki:Common.js/other.js, 'potcoplayers''); /* Display Timer */ importScript('MediaWiki:Common.js/DisplayTimer.js', 'potcoplayers'); /****************************/ /* END OF THE IMPORTED    */ /****************************/ //Facebook 'Like Box' //Graciously (and unknowingly) provided by The Spanish 'Simspedia' function fBox { $('#fbox').append(''); } $(fBox); //USERNAME Template// addOnloadHook(function {$('.username').html(wgUserName);});