User:Choocolatiah/common.js

massRenameDelay = 1000; // Optional massRenameSummary = ''; // Optional importScriptPage('MediaWiki:MassRename/code.js', 'dev');

if (mw.config.get("wgNamespaceNumber") === 14) { window.autoPurgePages = [mw.config.get("wgPageName")]; }

importArticles({   type: 'script',    articles: [        'u:dev:FixMultipleUpload/code.js',        'u:dev:MediaWiki:DisplayTimer/code.js',        'u:dev:MediaWiki:AjaxBlock/code.js',        'u:dev:MediaWiki:Nuke/code.js',        'u:dev:MediaWiki:Deadvideo/code.js',        'u:dev:MediaWiki:BotoneraPopups/BotoneraPopups.js',        'u:dev:MediaWiki:BotoneraPopups/WikiArticle.js',        'u:dev:MediaWiki:MassCategorization/code.js',    ] });

// Add template to the upload page // @author: UltimateSupreme (http://c.wikia.com/wiki/User:UltimateSupreme) // PARAMS artist, single, album, audio type, audio ver OPTIONAL for ogg files only // PARAMS member and cameo for card art only // PARAM chars in img for all other image type if (mw.config.get('wgCanonicalSpecialPageName') === 'MultipleUpload' || mw.config.get('wgCanonicalSpecialPageName') === 'Upload') { if (!$.getUrlVar('wpForReUpload') && !$('#wpUploadDescription').val) { jQuery(function ($) {           'use strict';            $('#wpUploadDescription').val( '');       });    } }