Merge "Change name of the editcheck-needreference tag to editcheck-references" into wmf/1.41.0-wmf.2

This commit is contained in:
jenkins-bot 2023-03-28 20:18:35 +00:00 committed by Gerrit Code Review
commit 7fcf674c6f
4 changed files with 6 additions and 6 deletions

View file

@ -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]]",

View file

@ -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}}",

View file

@ -54,7 +54,7 @@ class Hooks {
'visualeditor',
'visualeditor-wikitext',
// Edit check
'editcheck-needreference',
'editcheck-references',
// No longer in active use:
'visualeditor-needcheck',
'visualeditor-switched'

View file

@ -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( ',' );