MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ /* */

/* Chat advertisement */ importScript('MediaWiki:Common.js/chat.js');

importStylesheet("Template:Ambox/code.css");

/* Include Global Anime-Common.js Information */ importScriptURI('http://anime.wikia.com/index.php?title=MediaWiki:Anime-Common.js&action=raw&ctype=text/javascript&dontcountme=s&templates=expand');

/* Auto Refresh */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev');

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

//

//

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

// ****************************************************** // * SearchGoButton - Version 1.2			* // *							* // * Script by Eladkse					* // ****************************************************** // PurgeButtonText = 'Purge'; importScriptPage('PurgeButton/code.js', 'dev'); importScriptPage('DisplayClock/code.js', 'dev');

// BEGINNING: JavaScript for placing the fair use rationale template inside the summary box on Special:Upload. Code by "wikipedia:User:Pinky49", created and coded specifically for Duty & Valour. function FairUseRationale { if((wgPageName == 'Special:Upload') && document.getElementById('wpDestFile').value == '') { document.getElementById('wpUploadDescription').value = ''; } } addOnloadHook(FairUseRationale); // ****** END: JavaScript for Special:Upload ******