User:DuoDeca-S/global.js

/** * Standard Edit Summary Enhancement * (Need to create a separate page for this.) */

// Create the "dev" namespace if it doesn't exist already: window.dev = window.dev || {};

// Create the sub-namespace for this addon and set some options: window.dev.editSummaries = { css: '#stdSummaries { ... }',    select: 'MediaWiki:StandardEditSummary' };

// The options need to be set before the import! Otherwise they may not work. importArticles({   type: 'script',    articles: [         'u:dev:Standard_Edit_Summary/code.js',    ], });

/* Standard Edit Summary Settings */ window.dev.editSummaries = { select: [ 'Select applicable summary.', // This is the default title. 'Quick', [ 'Removing vandalism', 'Fixing error(s)', 'Corrected conventions', 'Corrected formatting/layout', ],       'Conventions', [ 'Corrected spelling', 'Fixed punctuation', 'Corrected grammar', 'Revised word choice (Synonymization)', ],       'General', [ 'Added/removed/corrected wikilink(s)', 'Added/removed/corrected interwiki link(s)', 'Added/removed/corrected external link(s)', 'Cleanup', 'Comment', 'Correction(s), coding', 'Expanded', 'Formatting', 'Headings (adjusting, etc.)', 'HTML → \"Wikicode\"', 'Layout', 'Mini-Wikifying', 'Redlink removal', 'Refactoring', 'Removing RTE refuse', 'Removing accidental signing due to Sine', 'Re-ordering/Re-organizing', 'Reply', 'Revised', 'Signing', 'Suggestion', 'Updating', '\"Wikifying\"', ],       'Content', [ 'Copy edit, major', 'Copy edit, minor', 'Copy editing', 'Factual correction', 'Neutral POV', 'Added/removed/corrected quote', 'Added/removed/corrected sources/appearances', ],       'Removal/Reversion', [ 'Reverted vandalism', 'Reverted test edit', 'Reverted vanity edit', 'Removed fanon', 'Removed libel/slander', 'Removed copyvio', 'Removed spam', 'Removed page (FFD)', ],       'Templates', [ 'Added/removed/corrected template(s)', 'Added/removed/corrected infobox(es)', 'Added/removed/corrected disambig template(s)', 'Substituting template(s)', ],       'Categories', [ 'Added category(ies)', 'Alphabetised category(ies)', 'Creating Category page', 'Modified category(ies)', 'Removed category(ies)', 'Removed defunct category(ies)', 'Removed duplicate category(ies)', ],       'Images/Files', [ 'Adding image(s)', 'Modifying image(s)', 'Deleting image(s)', ],       'Videos', [ 'Adding video(s)', 'Modifying video(s)', 'Deleting video(s)', ],   ], };