diff --git a/i18n/ve-wmf/en.json b/i18n/ve-wmf/en.json index cd93f43559..6c9b26c653 100644 --- a/i18n/ve-wmf/en.json +++ b/i18n/ve-wmf/en.json @@ -16,8 +16,8 @@ "Amir E. Aharoni" ] }, - "tag-editcheck-needreference": "-", - "tag-editcheck-needreference-description": "EditCheck thinks a reference might have been needed in this edit", + "tag-editcheck-references": "-", + "tag-editcheck-references-description": "EditCheck thinks a reference might have been needed in this edit", "tag-visualeditor": "[[{{MediaWiki:visualeditor-descriptionpagelink}}|Visual edit]]", "tag-visualeditor-description": "Edit made using the [[{{MediaWiki:visualeditor-descriptionpagelink}}|visual editor]]", "tag-visualeditor-needcheck": "[[{{MediaWiki:visualeditor-descriptionpagelink}}|Visual edit: Check]]", diff --git a/i18n/ve-wmf/qqq.json b/i18n/ve-wmf/qqq.json index 21473f6881..6e2fca05bd 100644 --- a/i18n/ve-wmf/qqq.json +++ b/i18n/ve-wmf/qqq.json @@ -25,8 +25,8 @@ "Verdy p" ] }, - "tag-editcheck-needreference": "{{ignored}}Short description of the editcheck-needreference tag.\n\nShown on lists of changes (history, recentchanges, etc.) for each edit made that EditCheck thinks might need a reference.\n\nSee also:\n* {{msg-mw|Tag-editcheck-needreference-description}}\n{{Related|tag-editcheck-needreference}}", - "tag-editcheck-needreference-description": "Long description of the editcheck-needreference tag.\n\nShown on lists of changes (history, recentchanges, etc.) for each edit made that EditCheck thinks might need a reference.\n\nSee also:\n* {{msg-mw|Tag-editcheck-needreference}}\n{{Related|tag-editcheck-needreference}}", + "tag-editcheck-references": "{{ignored}}Short description of the editcheck-references tag.\n\nShown on lists of changes (history, recentchanges, etc.) for each edit made that EditCheck thinks might need a reference.\n\nSee also:\n* {{msg-mw|Tag-editcheck-references-description}}\n{{Related|tag-editcheck-references}}", + "tag-editcheck-references-description": "Long description of the editcheck-references tag.\n\nShown on lists of changes (history, recentchanges, etc.) for each edit made that EditCheck thinks might need a reference.\n\nSee also:\n* {{msg-mw|Tag-editcheck-references}}\n{{Related|tag-editcheck-references}}", "tag-visualeditor": "Short description of the visualeditor tag. Do not translate the link target, but do translate the words \"Visual edit\".\n\nShown on lists of changes (history, recentchanges, etc.) for each edit made using VisualEditor.\n\nRefers to {{msg-mw|Visualeditor-descriptionpagelink}}.\n\nSee also:\n* {{msg-mw|Tag-visualeditor-needcheck}}\n{{Related|Tag-visualeditor}}\n{{Identical|VisualEditor}}", "tag-visualeditor-description": "Long description of the visualeditor tag ({{msg-mw|Tag-visualeditor}}).\n\nShown on [[Special:Tags]].\n\nRefers to {{msg-mw|Visualeditor-descriptionpagelink}}.\n\nSee also:\n* {{msg-mw|Tag-visualeditor-needcheck-description}}\n{{Related|Tag-visualeditor}}", "tag-visualeditor-needcheck": "\"Check\" indicates \"Check needed\".\n\nSee {{msg-mw|Tag-visualeditor-needcheck-description}}.\n\nRefers to {{msg-mw|Visualeditor-descriptionpagelink}}.\n\nSee also:\n* {{msg-mw|Tag-visualeditor|similar message}}\n{{Related|Tag-visualeditor}}", diff --git a/includes/Hooks.php b/includes/Hooks.php index 1f5e29913a..fa54935a66 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -54,7 +54,7 @@ class Hooks { 'visualeditor', 'visualeditor-wikitext', // Edit check - 'editcheck-needreference', + 'editcheck-references', // No longer in active use: 'visualeditor-needcheck', 'visualeditor-switched' diff --git a/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js index 88275f05d6..40667cec2d 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js @@ -1529,7 +1529,7 @@ ve.init.mw.ArticleTarget.prototype.save = function ( doc, options, isRetry ) { mw.config.get( 'wgVisualEditorConfig' ).editCheckTagging && mw.editcheck.doesAddedContentNeedReference( this.getSurface().getModel().getDocument() ) ) { - taglist.push( 'editcheck-needreference' ); + taglist.push( 'editcheck-references' ); } data.vetags = taglist.join( ',' );