User:Moonwatcher x Qibli/global.js

window.dev = window.dev || {}; window.dev.i18n = window.dev.i18n || {}; window.dev.i18n.overrides = window.dev.i18n.overrides || {}; window.dev.i18n.overrides['Rollback'] = window.dev.i18n.overrides['Rollback'] || {}; window.dev.i18n.overrides['Rollback']['summary'] = 'Reverted edit(s) by $1 (contribs) to last revision by $2'; window.dev.i18n.overrides['Rollback']['summaryShort'] = 'Reverted edit(s) by $1 (contribs) to last revision by $2';

// 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:Custom-StandardEditSummaries' };

window.dev = window.dev || {}; window.dev.editSummaries = { select: [ '(click to browse)', '1.Vandalsim-Spam', [ 'Reverting Vandalism or Spam: Undo revision $1 by contribs (Message Wall)', 'Reverting Vandalism or Spam', ],               '2.General', [ 'Corrected spelling/grammar', ]	] };

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

window.AutoCreateUserPagesConfig = { content: { 2: '',   },    summary: 'Creating my pages', notify: 'Here is a link to your userpage, $1!' };

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:ImportJSPage/code.js',        'u:dev:MediaWiki:QuickPurge.js',        'u:dev:MediaWiki:QQX/code.js',        'u:dev:MediaWiki:User Admin Tools.js',        'u:dev:MediaWiki:MassProtect/code.js',        'u:dev:MediaWiki:MassEdit/code.js',        'u:dev:MediaWiki:AutoCreateUserPages.js',        'u:dev:MediaWiki:Stella.js',        'u:dev:MediaWiki:Matrix.js',        'u:dev:MediaWiki:EditConflictAlert/code.js',        'u:dev:MediaWiki:Rollback/code.js',    ] });

//replace 'u:dev:MediaWiki:Rollback/code.js' with 'u:dev:MediaWiki:Rollback-NoSummaryAdded.js' when code is approved