MediaWiki:Common.js

/*displayTimer*/ importScript('MediaWiki:Common.js/displayTimer.js'); /*End of displayTimer*/

/* add upload photo button to main page - 3/8/11 */ function UploadOnMainPage { $('.mainpage #WikiaPageHeader div:first').append(' Upload Image '); } addOnloadHook(UploadOnMainPage);

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

// Standard Edit Summaries importScript('MediaWiki:Common.js/summaries.js'); // END of Standard Edit Summaries

/* Imported scripts (import on an import) Added by User:Guppie the Third */ importScript('MediaWiki:Common.js/Imports.js'); /* End of Imported Imported scripts */