mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
Use the "wikitext" for content in transclusions
Bug: T272482 Change-Id: Ibe68b49c25b4f0d88483c22e0e4b8462d935a45b
This commit is contained in:
parent
8ca81204e9
commit
199d9536d1
|
@ -2245,6 +2245,7 @@
|
|||
"visualeditor-dialog-transclusion-reset-confirmation-cancel",
|
||||
"visualeditor-dialog-transclusion-reset-confirmation-reset",
|
||||
"visualeditor-dialog-transclusion-feedback-message",
|
||||
"visualeditor-dialog-transclusion-wikitext",
|
||||
"visualeditor-dialogbutton-template-tooltip",
|
||||
"visualeditor-dialogbutton-transclusion-tooltip",
|
||||
"visualeditor-dismissible-message-close",
|
||||
|
|
|
@ -217,6 +217,7 @@
|
|||
"visualeditor-dialog-transclusion-reset-confirmation-cancel": "Continue editing",
|
||||
"visualeditor-dialog-transclusion-reset-confirmation-reset": "Remove template",
|
||||
"visualeditor-dialog-transclusion-feedback-message": "Recent work was completed to improve template search results. To learn more about the changes or leave feedback, go to the [//meta.wikimedia.org/wiki/WMDE_Technical_Wishes/Finding_and_inserting_templates project’s page].",
|
||||
"visualeditor-dialog-transclusion-wikitext": "Wikitext",
|
||||
"visualeditor-dialogbutton-media-tooltip": "Images and media",
|
||||
"visualeditor-dialogbutton-meta-tooltip": "Page settings",
|
||||
"visualeditor-dialogbutton-template-tooltip": "Template",
|
||||
|
|
|
@ -235,6 +235,7 @@
|
|||
"visualeditor-dialog-transclusion-reset-confirmation-cancel": "Label for the button which lets you continue editing and aborts resetting the transclusion dialog.",
|
||||
"visualeditor-dialog-transclusion-reset-confirmation-reset": "Label for the button which confirms the intent to reset the transclusion dialog.",
|
||||
"visualeditor-dialog-transclusion-feedback-message": "Text for the feedback message to inform users about template search improvements with a link to the project page.",
|
||||
"visualeditor-dialog-transclusion-wikitext": "Label for editor of wikitext content between transclusion parts.",
|
||||
"visualeditor-dialogbutton-media-tooltip": "Tooltip for adding images and media on page",
|
||||
"visualeditor-dialogbutton-meta-tooltip": "{{Identical|Page settings}}",
|
||||
"visualeditor-dialogbutton-template-tooltip": "{{Identical|Template}}",
|
||||
|
|
|
@ -39,7 +39,10 @@ ve.ui.MWTransclusionContentPage = function VeUiMWTransclusionContentPage( conten
|
|||
.setReadOnly( config.isReadOnly )
|
||||
.connect( this, { change: 'onTextInputChange' } );
|
||||
this.valueFieldset = new OO.ui.FieldsetLayout( {
|
||||
label: ve.msg( 'visualeditor-dialog-transclusion-content' ),
|
||||
label: ve.msg( veConfig.transclusionDialogNewSidebar ?
|
||||
'visualeditor-dialog-transclusion-wikitext' :
|
||||
'visualeditor-dialog-transclusion-content'
|
||||
),
|
||||
icon: 'wikiText',
|
||||
$content: this.textInput.$element
|
||||
} );
|
||||
|
|
|
@ -9,7 +9,7 @@ ve.ui.MWTransclusionOutlineWikitextWidget = function VeUiMWTransclusionOutlineWi
|
|||
// Parent constructor
|
||||
ve.ui.MWTransclusionOutlineWikitextWidget.super.call( this, content, {
|
||||
icon: 'wikiText',
|
||||
label: ve.msg( 'visualeditor-dialog-transclusion-content' )
|
||||
label: ve.msg( 'visualeditor-dialog-transclusion-wikitext' )
|
||||
} );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue