mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 18:58:42 +00:00
VisualEditorDataModule: Remove 'minoredit' and 'watchthis' messages
These messages are used for the checkboxes when saving the page.
But we don't actually use the data from this module; we get them
from the 'action=visualeditor' API in the 'checkboxesMessages'
property. This is necessary because MediaWiki extensions can add
extra checkboxes (e.g. FlaggedRevs), so a static list won't do.
These are unused since 393807462e
(2013) and it is confusing to keep them here.
Change-Id: Ia4ed2142292c3a22623f498c7f43ce590f167709
This commit is contained in:
parent
13d77ba557
commit
faa0bfb0f7
|
@ -51,10 +51,8 @@ class VisualEditorDataModule extends ResourceLoaderModule {
|
||||||
|
|
||||||
// Messages to be exported as parsed html
|
// Messages to be exported as parsed html
|
||||||
$parseMsgs = [
|
$parseMsgs = [
|
||||||
'minoredit' => $context->msg( 'minoredit' ),
|
|
||||||
'missingsummary' => $context->msg( 'missingsummary', $saveButtonLabel ),
|
'missingsummary' => $context->msg( 'missingsummary', $saveButtonLabel ),
|
||||||
'summary' => $context->msg( 'summary' ),
|
'summary' => $context->msg( 'summary' ),
|
||||||
'watchthis' => $context->msg( 'watchthis' ),
|
|
||||||
'visualeditor-browserwarning' => $context->msg( 'visualeditor-browserwarning' ),
|
'visualeditor-browserwarning' => $context->msg( 'visualeditor-browserwarning' ),
|
||||||
'visualeditor-wikitext-warning' => $context->msg( 'visualeditor-wikitext-warning' ),
|
'visualeditor-wikitext-warning' => $context->msg( 'visualeditor-wikitext-warning' ),
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue