MediaWiki:Common.js

/*   Replaces  with the name of the user browsing the page. Requires copying Template:USERNAME. function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace);

/* End of the replacement */

/****************************/ /* IMPORTED START          */ /****************************/ // Extra Rollback Buttons -Thanks Monch importScript('MediaWiki:Common.js/extraRollbacks.js'); // END Extra Rollback Buttons // AjaxRollback - works with Extra Rollback Buttons importScript('MediaWiki:Common.js/ajaxRollback.js'); // END AjaxRollback

/* Standard edit summaries*/ importScript('MediaWiki:Common.js/es.js');

/* 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');

/* Count-down Timer */ importScript('MediaWiki:Common.js/countdowntimer.js');

/* Collapsible Tables */ importScript('MediaWiki:Common.js/collapsetables.js');

/* Custom edit buttons */ importScript('MediaWiki:Common.js/CEB.js');

/** Dynamic Navigation Bars (experimental)**/ importScript('MediaWiki:Common.js/Nav.js');

/* other */ importScript('MediaWiki:Common.js/other.js'); /****************************/ /* END OF THE IMPORTED    */ /****************************/

//Facebook 'Like Box' //Graciously provided by The Spanish 'Simspedia' function fBox { $('#fbox').append(''); } $(fBox);

/* Fast Delete see below */ importScriptPage('MediaWiki:Common.js/fastDelete.js');