Revert "Provide contextual help for the page settings dialog's controls"

This reverts commit 9ba9b35b41.

Change-Id: I95dd24ec94f4e0ecc3a32fbcdac689cee4116ed5
This commit is contained in:
Jforrester 2014-07-24 02:09:27 +00:00
parent 9ba9b35b41
commit f84c33f074
4 changed files with 34 additions and 59 deletions

View file

@ -992,7 +992,6 @@ $wgResourceModules += array(
'visualeditor-dialog-meta-languages-section',
'visualeditor-dialog-meta-settings-displaytitle',
'visualeditor-dialog-meta-settings-displaytitle-enable',
'visualeditor-dialog-meta-settings-hiddencat-help',
'visualeditor-dialog-meta-settings-hiddencat-label',
'visualeditor-dialog-meta-settings-index-default',
'visualeditor-dialog-meta-settings-index-disable',
@ -1004,21 +1003,16 @@ $wgResourceModules += array(
'visualeditor-dialog-meta-settings-newsectioneditlink-force',
'visualeditor-dialog-meta-settings-newsectioneditlink-label',
'visualeditor-dialog-meta-settings-nocontentconvert-label',
'visualeditor-dialog-meta-settings-noeditsection-help',
'visualeditor-dialog-meta-settings-noeditsection-label',
'visualeditor-dialog-meta-settings-nogallery-help',
'visualeditor-dialog-meta-settings-nogallery-label',
'visualeditor-dialog-meta-settings-noeditsection-label',
'visualeditor-dialog-meta-settings-notitleconvert-label',
'visualeditor-dialog-meta-settings-redirect-help',
'visualeditor-dialog-meta-settings-redirect-label',
'visualeditor-dialog-meta-settings-redirect-placeholder',
'visualeditor-dialog-meta-settings-redirect-statichelp',
'visualeditor-dialog-meta-settings-redirect-staticlabel',
'visualeditor-dialog-meta-settings-section',
'visualeditor-dialog-meta-settings-toc-default',
'visualeditor-dialog-meta-settings-toc-disable',
'visualeditor-dialog-meta-settings-toc-force',
'visualeditor-dialog-meta-settings-toc-help',
'visualeditor-dialog-meta-settings-toc-label',
'visualeditor-dialog-meta-title',
'visualeditor-dialogbutton-meta-tooltip',

View file

@ -95,7 +95,6 @@
"visualeditor-dialog-meta-languages-section": "Languages",
"visualeditor-dialog-meta-settings-displaytitle": "Display title",
"visualeditor-dialog-meta-settings-displaytitle-enable": "Enable display title",
"visualeditor-dialog-meta-settings-hiddencat-help": "You can prevent this category from showing up in the list of categories on member pages. This is useful for categories that are of interest to editors but not most readers, like pages which need an illustration.",
"visualeditor-dialog-meta-settings-hiddencat-label": "Hidden category",
"visualeditor-dialog-meta-settings-index-default": "Default",
"visualeditor-dialog-meta-settings-index-disable": "No",
@ -107,22 +106,17 @@
"visualeditor-dialog-meta-settings-newsectioneditlink-force": "Yes",
"visualeditor-dialog-meta-settings-newsectioneditlink-label": "Show a tab on this page to add a new section",
"visualeditor-dialog-meta-settings-nocontentconvert-label": "Don't convert content between language variants",
"visualeditor-dialog-meta-settings-noeditsection-help": "You can stop the edit links from appearing next to each section in the unusual case where that is appropriate.",
"visualeditor-dialog-meta-settings-noeditsection-label": "Disable the edit links next to each heading on this page.",
"visualeditor-dialog-meta-settings-nogallery-help": "You can prevent this category from displaying member files as a gallery, if that is inappropriate in this case.",
"visualeditor-dialog-meta-settings-nogallery-label": "Disable gallery",
"visualeditor-dialog-meta-settings-notitleconvert-label": "Don't convert title between language variants",
"visualeditor-dialog-meta-settings-redirect-help": "You can make this page into a redirect, a page which will automatically take readers to another page on this wiki. This is useful for mis-spellings and alternative names or concepts. If you do so, readers will not see the contents of this page.",
"visualeditor-dialog-meta-settings-redirect-label": "Redirect this page to",
"visualeditor-dialog-meta-settings-redirect-placeholder": "Target page for redirection",
"visualeditor-dialog-meta-settings-redirect-statichelp": "You can prevent this redirect being updated automatically when the page to which it redirects is moved, in the very rare case that this is neeeded.",
"visualeditor-dialog-meta-settings-redirect-staticlabel": "Prevent this redirect being updated when target page is moved.",
"visualeditor-dialog-meta-settings-section": "Page settings",
"visualeditor-dialog-meta-settings-toc-default": "If needed",
"visualeditor-dialog-meta-settings-toc-disable": "Never",
"visualeditor-dialog-meta-settings-toc-force": "Always",
"visualeditor-dialog-meta-settings-toc-help": "You can force a table of contents that lists each heading on the page to appear on pages with fewer than three headings, or force it to not appear at all. By default, it will appear if the page has three or more headings.",
"visualeditor-dialog-meta-settings-toc-label": "Show the table of contents",
"visualeditor-dialog-meta-settings-toc-label": "Show the Table of Contents",
"visualeditor-dialog-meta-title": "Options",
"visualeditor-dialog-reference-insert-button": "Insert reference",
"visualeditor-dialog-reference-insert-title": "Insert reference",
@ -194,9 +188,9 @@
"visualeditor-mweditmodesource-title": "Switch to source editing?",
"visualeditor-mweditmodesource-tool": "Switch to source editing",
"visualeditor-mweditmodesource-warning": "You are about to switch to source editing.\nAny changes you've made to this document can be kept, but you will not be able switch back to VisualEditor without saving or reloading the page.\nDo you want to continue?",
"visualeditor-mweditmodesource-warning-cancel": "Cancel",
"visualeditor-mweditmodesource-warning-switch": "Keep changes",
"visualeditor-mweditmodesource-warning-switch-discard": "Discard changes",
"visualeditor-mweditmodesource-warning-cancel": "Cancel",
"visualeditor-mwgalleryinspector-placeholder": "Example.jpg|Caption for image",
"visualeditor-mwgalleryinspector-title": "Gallery",
"visualeditor-pagemenu-tooltip": "Page options",
@ -251,9 +245,9 @@
"visualeditor-toolbar-style-tooltip": "Style text",
"visualeditor-usernamespacepagelink": "Project:User namespace",
"visualeditor-viewpage-savewarning": "Are you sure you want to go back to view mode without saving first?",
"visualeditor-viewpage-savewarning-title": "Are you sure?",
"visualeditor-viewpage-savewarning-discard": "Discard edits",
"visualeditor-viewpage-savewarning-keep": "Continue editing",
"visualeditor-viewpage-savewarning-title": "Are you sure?",
"visualeditor-wikitext-warning": "You are using VisualEditor - [[{{MediaWiki:visualeditor-wikitext-warning-link}}|wikitext]] does not work here. To switch to source editing at any time without losing your changes, open the dropdown menu next to \"{{int:visualeditor-toolbar-cancel}}\" and select \"{{int:visualeditor-mweditmodesource-title}}\".",
"visualeditor-wikitext-warning-link": "Help:Wiki markup",
"visualeditor-wikitext-warning-title": "Wikitext markup detected"

View file

@ -103,7 +103,6 @@
"visualeditor-dialog-meta-languages-section": "Label for the language links dialog section.\n{{Identical|Language}}",
"visualeditor-dialog-meta-settings-displaytitle": "Label for the text box in which the user can set what the title of the page should be displayed as.",
"visualeditor-dialog-meta-settings-displaytitle-enable": "Label for the checkbox to enable the use of the display title text box.",
"visualeditor-dialog-meta-settings-hiddencat-help": "Message displayed as contextual help about the <nowiki>__HIDDENCAT__</nowiki> tag to editors in the page settings panel on categories.",
"visualeditor-dialog-meta-settings-hiddencat-label": "Prompt for the checkbox to let the user hide this category from pages.",
"visualeditor-dialog-meta-settings-index-default": "Label for the option to have default indexing behavior.\n{{Identical|Default}}",
"visualeditor-dialog-meta-settings-index-disable": "Label for the option for indexing to be forced off.\n{{Identical|No}}",
@ -115,21 +114,16 @@
"visualeditor-dialog-meta-settings-newsectioneditlink-force": "Label for the option to force the display of a new section creating link.\n{{Identical|Yes}}",
"visualeditor-dialog-meta-settings-newsectioneditlink-label": "Prompt to let the user set the new section creating link behavior.\n\nFollowed by the following buttons:\n* {{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-force}}\n* {{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-default}}\n* {{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-disable}}",
"visualeditor-dialog-meta-settings-nocontentconvert-label": "Prompt for the checkbox to let the user disable content conversion between language variants on the page.",
"visualeditor-dialog-meta-settings-noeditsection-help": "Message displayed as contextual help about the <nowiki>__NOEDITSECTION__</nowiki> tag to editors in the page settings panel.",
"visualeditor-dialog-meta-settings-noeditsection-label": "Prompt for the checkbox to let the user disable section edit links on the page.",
"visualeditor-dialog-meta-settings-nogallery-help": "Message displayed as contextual help about the <nowiki>__NOGALLERY__</nowiki> tag to editors in the page settings panel on categories.",
"visualeditor-dialog-meta-settings-nogallery-label": "Prompt for the checkbox to let the user disable gallery on the page.",
"visualeditor-dialog-meta-settings-notitleconvert-label": "Prompt for the checkbox to let the user disable title conversion between language variants on the page.",
"visualeditor-dialog-meta-settings-redirect-help": "Message displayed as contextual help about redirects to editors in the page settings panel.",
"visualeditor-dialog-meta-settings-redirect-label": "Label for the checkbox to let the user redirect the page.\n\nFollowed by input box which has the placeholder {{msg-mw|Visualeditor-dialog-meta-settings-redirect-placeholder}}.",
"visualeditor-dialog-meta-settings-redirect-placeholder": "Placeholder for the target search box letting the user redirect the page.\n\nPreceded by the checkbox label {{msg-mw|Visualeditor-dialog-meta-settings-redirect-label}}.",
"visualeditor-dialog-meta-settings-redirect-statichelp": "Message displayed as contextual help about the <nowiki>__STATICREDIRECT__</nowiki> tag to editors in the page settings panel.",
"visualeditor-dialog-meta-settings-redirect-staticlabel": "Label for the checkbox to let the user stop the redirect being updated on page moves.\n\nPreceded by \"Target page for redirection\" search box.",
"visualeditor-dialog-meta-settings-section": "Label for the page settings dialog section.\n{{Identical|Page settings}}",
"visualeditor-dialog-meta-settings-toc-default": "Label for the default TOC behavior option.\n{{Related|Visualeditor-dialog-meta-settings-toc}}",
"visualeditor-dialog-meta-settings-toc-disable": "Label for the TOC behavior option to never show.\n{{Related|Visualeditor-dialog-meta-settings-toc}}",
"visualeditor-dialog-meta-settings-toc-force": "Label for the TOC behavior option to always show.\n{{Related|Visualeditor-dialog-meta-settings-toc}}",
"visualeditor-dialog-meta-settings-toc-help": "Message displayed as contextual help about the <nowiki>__FORCETOC__</nowiki> and <nowiki>__NOTOC__</nowiki> tags to editors in the page settings panel.",
"visualeditor-dialog-meta-settings-toc-label": "Prompt to let the user set the Table Of Contents (TOC) behaviour.",
"visualeditor-dialog-meta-title": "Text of the title for the meta dialog to set categories, language links and other page settings.\n{{Identical|Options}}",
"visualeditor-dialog-reference-insert-button": "Used as label for the button to insert a new reference.\n{{Identical|Insert reference}}",
@ -202,9 +196,9 @@
"visualeditor-mweditmodesource-title": "Title of dialog to confirm switching to source mode.",
"visualeditor-mweditmodesource-tool": "Label for tool that changes edit mode to source editing.",
"visualeditor-mweditmodesource-warning": "Warning message show before changing edit mode to source editing. It allows the user to keep the changes or to start source editing from scratch using the message {{msg-mw|Visualeditor-mweditmodesource-warning-switch}} and {{msg-mw|Visualeditor-mweditmodesource-warning-switch-discard}}.",
"visualeditor-mweditmodesource-warning-cancel": "Label for the cancel button on the confirmation dialog for switching to source editing.\n{{Identical|Cancel}}",
"visualeditor-mweditmodesource-warning-switch": "Label for the keep changes button on the confirmation dialog for switching to source editing.",
"visualeditor-mweditmodesource-warning-switch-discard": "Label for the discard changes button on the confirmation dialog for switching to source editing.",
"visualeditor-mweditmodesource-warning-cancel": "Label for the cancel button on the confirmation dialog for switching to source editing.\n{{Identical|Cancel}}",
"visualeditor-mwgalleryinspector-placeholder": "Placeholder text for the gallery inspector demonstrating how gallery syntax works.",
"visualeditor-mwgalleryinspector-title": "Used as title for the gallery inspector.\n{{Identical|Gallery}}",
"visualeditor-pagemenu-tooltip": "Tooltip text for the page menu which has the following items:\n* {{msg-mw|visualeditor-meta-tool}}\n* {{msg-mw|visualeditor-settings-tool}}\n* {{msg-mw|visualeditor-advancedsettings-tool}}\n* {{msg-mw|visualeditor-categories-tool}}\n* {{msg-mw|visualeditor-languages-tool}}\n* {{msg-mw|visualeditor-mweditmodesource-title}}\n* {{msg-mw|visualeditor-dialog-command-help-title}}",
@ -259,9 +253,9 @@
"visualeditor-toolbar-style-tooltip": "Tooltip text for the text styling menu which has the following items:\n* {{msg-mw|Visualeditor-annotationbutton-bold-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-code-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-italic-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-language-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-link-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-strikethrough-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-subscript-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-superscript-tooltip}}\n* {{msg-mw|Visualeditor-annotationbutton-underline-tooltip}}",
"visualeditor-usernamespacepagelink": "Name of a page describing the user namespace (NS2) in this project.\n{{doc-important|Do not translate \"Project\"; it is automatically converted to the wiki's project namespace.}}",
"visualeditor-viewpage-savewarning": "Text shown when the user tries to leave the editor without saving their changes.\n\nFollowed by the following buttons:\n* {{msg-mw|Visualeditor-viewpage-savewarning-discard}}\n* {{msg-mw|Visualeditor-viewpage-savewarning-keep}}",
"visualeditor-viewpage-savewarning-title": "Title of the dialog shown when the user tries to leave the editor without saving their changes.\n\nFollowed by the following buttons:\n* {{msg-mw|Visualeditor-viewpage-savewarning-discard}}\n* {{msg-mw|Visualeditor-viewpage-savewarning-keep}}",
"visualeditor-viewpage-savewarning-discard": "Text shown on the button which closes VE and discards changes when the user confirms that they want to leave the editor.\n\nPreceded by the prompt {{msg-mw|Visualeditor-viewpage-savewarning}}.\n\nFollowed by the button {{msg-mw|Visualeditor-viewpage-savewarning-keep}}.",
"visualeditor-viewpage-savewarning-keep": "Text shown on the button which does not do anything when the user decides that they do not want to leave the editor.\n\nPreceded by the button {{msg-mw|Visualeditor-viewpage-savewarning-discard}}.",
"visualeditor-viewpage-savewarning-title": "Title of the dialog shown when the user tries to leave the editor without saving their changes.\n\nFollowed by the following buttons:\n* {{msg-mw|Visualeditor-viewpage-savewarning-discard}}\n* {{msg-mw|Visualeditor-viewpage-savewarning-keep}}",
"visualeditor-wikitext-warning": "Contents of notification displayed when Wikitext has been detected.\n\nRefers to:\n* {{msg-mw|Visualeditor-wikitext-warning-link}}\n* {{msg-mw|Visualeditor-toolbar-cancel}}\n* {{msg-mw|Visualeditor-mweditmodesource-title}}\nSee also:\n* {{msg-mw|Visualeditor-beta-warning}}",
"visualeditor-wikitext-warning-link": "Link to page describing what Wikitext is.\n\nUsed in:\n* {{msg-mw|Visualeditor-wikitext-warning}}.",
"visualeditor-wikitext-warning-title": "Title of notification displayed when Wikitext has been detected"

View file

@ -30,8 +30,8 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
this.settingsFieldset = new OO.ui.FieldsetLayout( {
'$': this.$,
label: ve.msg( 'visualeditor-dialog-meta-settings-label' ),
icon: 'settings'
'label': ve.msg( 'visualeditor-dialog-meta-settings-label' ),
'icon': 'settings'
} );
// Initialization
@ -42,23 +42,22 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
.addItems( [
new OO.ui.ButtonOptionWidget(
'mwTOCForce',
{ label: ve.msg( 'visualeditor-dialog-meta-settings-toc-force' ) }
{ 'label': ve.msg( 'visualeditor-dialog-meta-settings-toc-force' ) }
),
new OO.ui.ButtonOptionWidget(
'default',
{ label: ve.msg( 'visualeditor-dialog-meta-settings-toc-default' ) }
{ 'label': ve.msg( 'visualeditor-dialog-meta-settings-toc-default' ) }
),
new OO.ui.ButtonOptionWidget(
'mwTOCDisable',
{ label: ve.msg( 'visualeditor-dialog-meta-settings-toc-disable' ) }
{ 'label': ve.msg( 'visualeditor-dialog-meta-settings-toc-disable' ) }
)
] )
.connect( this, { select: 'onTableOfContentsFieldChange' } ),
.connect( this, { 'select': 'onTableOfContentsFieldChange' } ),
{
'$': this.$,
align: 'top',
label: ve.msg( 'visualeditor-dialog-meta-settings-toc-label' ),
help: ve.msg( 'visualeditor-dialiog-meta-settings-toc-help' )
'align': 'top',
'label': ve.msg( 'visualeditor-dialog-meta-settings-toc-label' )
}
);
@ -68,20 +67,19 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
this.enableRedirectInput,
{
'$': this.$,
align: 'inline',
label: ve.msg( 'visualeditor-dialog-meta-settings-redirect-label' ),
help: ve.msg( 'visualeditor-dialiog-meta-settings-redirect-help' )
'align': 'inline',
'label': ve.msg( 'visualeditor-dialog-meta-settings-redirect-label' )
}
);
this.redirectTargetInput = new ve.ui.MWTitleInputWidget( {
'$': this.$,
placeholder: ve.msg( 'visualeditor-dialog-meta-settings-redirect-placeholder' )
'placeholder': ve.msg( 'visualeditor-dialog-meta-settings-redirect-placeholder' )
} );
this.redirectTargetField = new OO.ui.FieldLayout(
this.redirectTargetInput,
{
'$': this.$,
align: 'top'
'align': 'top'
}
);
this.enableStaticRedirectInput = new OO.ui.CheckboxInputWidget( { '$': this.$ } );
@ -89,20 +87,18 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
this.enableStaticRedirectInput,
{
'$': this.$,
align: 'inline',
label: ve.msg( 'visualeditor-dialog-meta-settings-redirect-staticlabel' ),
help: ve.msg( 'visualeditor-dialiog-meta-settings-redirect-statichelp' )
'align': 'inline',
'label': ve.msg( 'visualeditor-dialog-meta-settings-redirect-staticlabel' )
}
);
this.enableRedirectInput.connect( this, { change: 'onEnableRedirectChange' } );
this.redirectTargetInput.connect( this, { change: 'onRedirectTargetChange' } );
this.enableStaticRedirectInput.connect( this, { change: 'onEnableStaticRedirectChange' } );
this.enableRedirectInput.connect( this, { 'change': 'onEnableRedirectChange' } );
this.redirectTargetInput.connect( this, { 'change': 'onRedirectTargetChange' } );
this.enableStaticRedirectInput.connect( this, { 'change': 'onEnableStaticRedirectChange' } );
this.metaItemCheckboxes = [
{
metaName: 'mwNoEditSection',
label: ve.msg( 'visualeditor-dialog-meta-settings-noeditsection-label' ),
help: ve.msg( 'visualeditor-dialog-meta-settings-noeditsection-help' )
label: ve.msg( 'visualeditor-dialog-meta-settings-noeditsection-label' )
}
].concat( ve.ui.MWSettingsPage.static.extraMetaCheckboxes );
/*global mw*/
@ -110,13 +106,11 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
this.metaItemCheckboxes.push(
{
metaName: 'mwHiddenCategory',
label: ve.msg( 'visualeditor-dialog-meta-settings-hiddencat-label' ),
help: ve.msg( 'visualeditor-dialog-meta-settings-hiddencat-help' )
label: ve.msg( 'visualeditor-dialog-meta-settings-hiddencat-label' )
},
{
metaName: 'mwNoGallery',
label: ve.msg( 'visualeditor-dialog-meta-settings-nogallery-label' ),
help: ve.msg( 'visualeditor-dialiog-meta-settings-nogallery-help' )
label: ve.msg( 'visualeditor-dialog-meta-settings-nogallery-label' )
}
);
}
@ -133,9 +127,8 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
new OO.ui.CheckboxInputWidget( { '$': settingsPage.$ } ),
{
'$': settingsPage.$,
align: 'inline',
label: this.label,
help: this.help || ''
'align': 'inline',
'label': this.label
}
);
settingsPage.settingsFieldset.addItems( [ this.fieldLayout ] );
@ -157,7 +150,7 @@ ve.ui.MWSettingsPage.static.extraMetaCheckboxes = [];
* @param {string} label The label to show next to the checkbox
*/
ve.ui.MWSettingsPage.static.addMetaCheckbox = function ( metaName, label ) {
this.extraMetaCheckboxes.push( { metaName: metaName, label: label } );
this.extraMetaCheckboxes.push( { 'metaName': metaName, 'label': label } );
};
/* Methods */
@ -286,7 +279,7 @@ ve.ui.MWSettingsPage.prototype.teardown = function ( data ) {
// Redirect items
currentRedirectTargetItem = this.getMetaItem( 'mwRedirect' ),
newRedirectData = this.redirectTargetInput.getValue(),
newRedirectItemData = { type: 'mwRedirect', attributes: { title: newRedirectData } },
newRedirectItemData = { 'type': 'mwRedirect', 'attributes': { 'title': newRedirectData } },
currentStaticRedirectItem = this.getMetaItem( 'mwStaticRedirect' ),
newStaticRedirectState = this.enableStaticRedirectInput.getValue(),
@ -301,12 +294,12 @@ ve.ui.MWSettingsPage.prototype.teardown = function ( data ) {
}
} else {
if ( !tableOfContentsMetaItem ) {
this.metaList.insertMeta( { type: tableOfContentsValue } );
this.metaList.insertMeta( { 'type': tableOfContentsValue } );
} else if ( tableOfContentsMetaItem.getType() !== tableOfContentsValue ) {
tableOfContentsMetaItem.replaceWith(
ve.extendObject( true, {},
tableOfContentsMetaItem.getElement(),
{ type: tableOfContentsValue }
{ 'type': tableOfContentsValue }
)
);
}
@ -341,7 +334,7 @@ ve.ui.MWSettingsPage.prototype.teardown = function ( data ) {
currentStaticRedirectItem.remove();
}
if ( !currentStaticRedirectItem && newStaticRedirectState && newRedirectData ) {
this.metaList.insertMeta( { type: 'mwStaticRedirect' } );
this.metaList.insertMeta( { 'type': 'mwStaticRedirect' } );
}
}
@ -352,7 +345,7 @@ ve.ui.MWSettingsPage.prototype.teardown = function ( data ) {
if ( currentItem && !newValue ) {
currentItem.remove();
} else if ( !currentItem && newValue ) {
settingsPage.metaList.insertMeta( { type: this.metaName } );
settingsPage.metaList.insertMeta( { 'type': this.metaName } );
}
} );