MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ /* Auto Refresh */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* importScriptPages-start */ importScriptPage('Countdown/code.js', 'dev'); importScriptPage('ShowHide/code.js', 'dev'); importScriptPage('MediaWiki:Search_Fix.js', 'dantest'); /* importScriptPages-end */

/*Automatic FUR in Special:Upload */ function preloadUploadDesc { if (wgPageName.toLowerCase != 'special:upload') { return; } document.getElementById('wpUploadDescription').appendChild(document.createTextNode("")); } addOnloadHook (preloadUploadDesc)