Explain what the number on the edit summary screen means

Bug: 50902
Change-Id: Ic548e624c1e7375b3151cc9d2f051a5bc665c759
This commit is contained in:
Krenair 2014-02-09 03:14:09 +00:00
parent c5157ac79a
commit c4903ac684
4 changed files with 4 additions and 0 deletions

View file

@ -712,6 +712,7 @@ $wgResourceModules += array(
'visualeditor-editconflict',
'visualeditor-editnotices-tool',
'visualeditor-editsummary',
'visualeditor-editsummary-bytes-remaining',
'visualeditor-feedback-tool',
'visualeditor-formatdropdown-format-mw-heading1',
'visualeditor-formatdropdown-format-mw-heading2',

View file

@ -106,6 +106,7 @@
"visualeditor-editconflict": "Your changes could not be saved because of an edit conflict. Would you like to resolve the conflict manually?",
"visualeditor-editnotices-tool": "$1 {{PLURAL:$1|notice|notices}}",
"visualeditor-editsummary": "Describe what you changed",
"visualeditor-editsummary-bytes-remaining": "The number of bytes remaining",
"visualeditor-formatdropdown-format-mw-heading1": "Page title",
"visualeditor-formatdropdown-format-mw-heading2": "Heading",
"visualeditor-formatdropdown-format-mw-heading3": "Sub-heading 1",

View file

@ -111,6 +111,7 @@
"visualeditor-editconflict": "Alert message when saving a page causes an edit conflict",
"visualeditor-editnotices-tool": "Text of tool in the toolbar that shows edit notices (such as [[MediaWiki:Editnotice-0]] and [[MediaWiki:Editnotice-8/en]]) as a pop-up.\n\nParameters:\n* $1 - the number of notices",
"visualeditor-editsummary": "Label for the edit summary box",
"visualeditor-editsummary-bytes-remaining": "Title text for the number of bytes remaining in the edit summary",
"visualeditor-formatdropdown-format-mw-heading1": "Item in the MediaWiki formatting dropdown for a level 1 heading (page title).\n{{Identical|Page title}}",
"visualeditor-formatdropdown-format-mw-heading2": "Item in the MediaWiki formatting dropdown for a level 2 heading (section).\n{{Identical|Heading}}",
"visualeditor-formatdropdown-format-mw-heading3": "Item in the MediaWiki formatting dropdown for a level 3 heading (sub-section)",

View file

@ -304,6 +304,7 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
this.$( '<div>' ).addClass( 've-ui-mwSaveDialog-checkboxes' ),
new OO.ui.InputLabelWidget( { '$': this.$, 'label': 'text' } ).$element
.addClass( 've-ui-mwSaveDialog-editSummary-count' ).text( this.editSummaryByteLimit )
.attr( 'title', ve.msg( 'visualeditor-editsummary-bytes-remaining' ) )
);
this.$saveMessages = this.$( '<div>' );
this.$saveActions = this.$( '<div>' ).append(