MediaWiki:Common.js

// Additional UserRights Icons in profile mastheads importScript('MediaWiki:Wikia.js/userRightsIcons.js'); // END Additional UserRights Icons in profile mastheads

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

importScriptPage('ShowHide/code.js', 'dev');

/* End of the replacement */

/* Add UTC clock above articles */ importScript('MediaWiki:Common.js/displayTimer.js');

importScriptPage('BackToTopButton/code.js', 'dev');

importScriptPage('CollapsibleEdittools/code.js', 'dev');

EditIntroButtonText = 'Intro'; importScriptPage('EditIntroButton/code.js', 'dev')

importScriptPage('Countdown/code.js', 'dev');

importScriptPage('AutoEditDropdown/code.js', 'dev');

function addPageBottom { $("#WikiaArticle").append('  '); }

$(addPageBottom);

importScriptPage('PurgeButton/code.js', 'dev');

importScriptPage('SearchGoButton/code.js', 'dev');