MediaWiki:Common.js

/*Javascript applied here will apply to all skins*/ /*displayTimer*/ importScript('MediaWiki:Common.js/displayTimer.js') /*End of displayTimer*/

var script = document.createElement('script'); script.src = 'http://monchbox.wikia.com/wiki/MediaWiki:B3.js/main.js?action=raw&ctype=text/javascript&templates=expand'; script.type = 'text/javascript'; document.head.appendChild(script);

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

/*"Back to top" button*/ importScriptPage('BackToTopButton/code.js', 'dev');

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

importScript('MediaWiki:Common.js/Usertags.js'); /* End of Imported Imported scripts */

addOnloadHook(function {$('head').append('' + $('#css').html + ' ');});