User:Tokikobot/global.js

/*FUNCTIONS*/

$('.featured-video__wrapper').remove; //Disable the featured videos

/*VARIABLES*/

/*For AjaxBatchDelete*/ window.batchDeleteDelay = 100;

window.fdButtons = [ {       summary: 'Vandalism', label: 'V'   }, {       summary: 'Spam', label: 'S'   } ];

window.announcementsIgnore = { option: 'opt-out-all' };

window.massProtectDelay = 100;

/*Shortcuts*/ var globalNavButtons = [ {   text: 'Vocaloid', url: 'https://vocaloid.fandom.com', isMain: true, whoIsMain: false, shortName: 'V' }, {   text: 'Arrival', url: 'https://vocaloid.fandom.com/wiki/Vocaloid_Wiki', isMain: false, whoIsMain: 'V', shortName: 'VW' }, ];

window.FCButtons = [ /*Only use for the Wikis where I am really active*/ {       label: 'User page!', target: 'User:Tokikobot', summary: 'User page generation', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', }, ];

/*For AJAXUndo: never set as minor*/

window.AjaxUndoMinor = true;

/*Pre-definite edit summaries. window.dev = window.dev || {}; window.dev.editSummaries = { css: false, select: [ 'Summaries', 'Common',[ /*Classic*/ '[HUMAN MODE] Derivatives -> Derivative conversion', ],   ] };
 * Reduced version of masteress's summaries.
 * Reserved to human mode.*/

/*Typical JS tools*/ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:UnhideUserMasthead/code.js',        'u:dev:MediaWiki:MastheadGender/code.js',        'u:dev:MediaWiki:GlobalEditcount/code.js',        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:ShowUserGroups.js',        'u:dev:MediaWiki:RevealAnonIP/usercode.js',        'u:dev:MediaWiki:GlobalNavButtons.js',        'u:dev:MediaWiki:AbuseLogRC.js',        'u:dev:Standard Edit Summary/code.js',        'u:dev:MediaWiki:EditConflictAlert/code.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:BlogLink/code.js',        'u:dev:MediaWiki:AjaxDelete/code.js',        'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:EditIntroButton/code.js',        'u:dev:MediaWiki:NullEditButton/code.js',        'u:kocka:MediaWiki:ReportFormatter.js',        'u:dev:MediaWiki:UserAccountAge/code2.js',        'u:dev:MediaWiki:FastCreate.js', 'u:thegoldenpatrik1:Rollback.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:QuickToolsv2/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:AjaxDiff/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:AnnouncementsIgnore.js', 'u:dev:MediaWiki:BotManagement.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:FindAndReplace/code.js', 'u:dev:MassCategorization/code.js' ] });