mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
Simplify new INDEX/NOINDEX language, order and panel order
Just say "Default" rather than "Like other pages in this namespace" (let's put that in the help string/tooltip at some point); order the "default" value between "yes" and "no" (like for TOC); make sure the panel for the advanced settings is in the same position in the page menu as the meta- data dialog. Follow-up to I30d483b5b6c3df7e Change-Id: I902eb4f8504866b2dcde32333cf365a59716c2ce
This commit is contained in:
parent
fdabedf117
commit
0b97870d8c
|
@ -75,7 +75,7 @@
|
|||
"visualeditor-dialog-meta-languages-name-label": "Language",
|
||||
"visualeditor-dialog-meta-languages-readonlynote": "This is a list of pages in other languages that are linked to this one; for now, it can only be edited in source mode or on Wikidata.",
|
||||
"visualeditor-dialog-meta-languages-section": "Languages",
|
||||
"visualeditor-dialog-meta-settings-index-default": "Like other pages in this namespace",
|
||||
"visualeditor-dialog-meta-settings-index-default": "Default",
|
||||
"visualeditor-dialog-meta-settings-index-disable": "No",
|
||||
"visualeditor-dialog-meta-settings-index-force": "Yes",
|
||||
"visualeditor-dialog-meta-settings-index-label": "Let this page be indexed by search engines",
|
||||
|
|
|
@ -1043,7 +1043,7 @@ ve.init.mw.ViewPageTarget.prototype.attachToolbarButtons = function () {
|
|||
{
|
||||
'type': 'list',
|
||||
'icon': 'menu',
|
||||
'include': [ 'meta', 'settings', 'categories', 'languages', 'advancedSettings', 'editModeSource', 'commandHelp' ]
|
||||
'include': [ 'meta', 'settings', 'advancedSettings', 'categories', 'languages', 'editModeSource', 'commandHelp' ]
|
||||
}
|
||||
] );
|
||||
|
||||
|
|
|
@ -38,13 +38,13 @@ ve.ui.MWAdvancedSettingsPage = function VeUiMWAdvancedSettingsPage( surface, nam
|
|||
'mwIndexForce',
|
||||
{ 'label': ve.msg( 'visualeditor-dialog-meta-settings-index-force' ) }
|
||||
),
|
||||
'mwIndexDisable': new OO.ui.ButtonOptionWidget(
|
||||
'mwIndexDisable',
|
||||
{ 'label': ve.msg( 'visualeditor-dialog-meta-settings-index-disable' ) }
|
||||
),
|
||||
'default': new OO.ui.ButtonOptionWidget(
|
||||
'default',
|
||||
{ 'label': ve.msg( 'visualeditor-dialog-meta-settings-index-default' ) }
|
||||
),
|
||||
'mwIndexDisable': new OO.ui.ButtonOptionWidget(
|
||||
'mwIndexDisable',
|
||||
{ 'label': ve.msg( 'visualeditor-dialog-meta-settings-index-disable' ) }
|
||||
)
|
||||
};
|
||||
this.indexingOptionSelector.addItems( ve.getObjectValues( this.indexingOptionWidgets ) );
|
||||
|
|
Loading…
Reference in a new issue