MediaWiki:Common.js

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

var ShowHideConfig = { brackets: '<>' }; importScriptPage('ShowHide/code.js', 'dev'); importScriptPage('CollapsibleInfobox/code.js', 'dev'); //for examples on CollapsibleInfobox

var archiveListTemplate = 'ArchiveList'; //The name of the template that will be placed on top of the talk page, linking to the different archives var archivePageTemplate = 'ArchivePage'; //The name of the template that will be placed on top of the archive page, explaining that it is an archive importScriptPage('ArchiveTool/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. Modified by Yyp for use on Bleach Wiki. function preloadUploadDesc { if (wgPageName.toLowerCase != 'special:upload') { return; } document.getElementById('wpUploadDescription').appendChild(document.createTextNode("")); } addOnloadHook (preloadUploadDesc) // ****** END: JavaScript for Special:Upload *****