MediaWiki:Common.js

importArticles({  type:'script',   articles: [        /*####################################*/        /*##### Developer's Wiki Imports #####*/        /*####################################*/		// Adds button to toolbar that brings you to the top of the page	'w:c:dev:BackToTopButton/code.js',		// Adds customized table collapsing	'w:c:dev:ShowHide/code.js',		// Automatically drops-down edit button when hovered hover	'w:c:dev:ListFiles/code.js',		// Adds "View Source" to edit drop-down	'w:c:dev:AutoEditDropdown/code.js',		// Adds purge option to edit button drop-down	'w:c:dev:PurgeButton/code.js',		// Adds "edit intro" to edit drop-down	'w:c:dev:EditIntroButton/code.js',		// Reveals IP address instead of "A Wikia Contributor"	'w:c:dev:RevealAnonIP/code.js',		// Removes redirects to Special:ListFiles	'w:c:dev:View_Source/code.js',		// Adds reference popups like on Wikipedia	'w:c:dev:ReferencePopups/code.js', // Adds Javascript countdown option 'w:c:dev:Countdown/code.js', /*####################################*/       /*######## Other Wiki Imports ########*/ /*####################################*/		// Adds toggler add-on 'w:c:zcrushersstrikeforce:MediaWiki:Common.js/toggle.js', // Adds "cancel" button in editing screen 'w:c:admintools:MediaWiki:Wikia.js/cancelButton.js', // Adds standard edit summaries 'w:c:terraria:MediaWiki:Common.js/StandardEditSummaries.js', // Adds display timer to global navigation with link to ?action=purge 'w:c:avatar:MediaWiki:Common.js/wallgreetingbutton.js', // Adds ticker sliding message 'w:c:rhythmheaven:MediaWiki:Wikia.js/Ticker.js', // Adds "edit count" to user tabs 'w:c:rhythmheaven:MediaWiki:Wikia.js/editCount.js', // Adds Ajax RC	'w:c:candybox:MediaWiki:Common.js/ajax.js', // Adds additional rail module 'w:c:funeral-bell:MediaWiki:Common.js/module.js', ] }); var monoBookText = 'MonoBook',   oasisText = 'Oasis'; /* Replace with Username (couples with Template:Username) */ $(document).ready(function  {if (wgUserName) {$(".insertusername").html(wgUserName)} });