mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Add a title to the templates help button
Bug: T299499 Change-Id: Ibb4aca479674668d6c14b8ace037433fa305dc35
This commit is contained in:
parent
4015ad1bf5
commit
8da9661e11
|
@ -535,6 +535,7 @@ ve.ui.MWTransclusionDialog.prototype.initialize = function () {
|
|||
if ( this.useNewSidebar || this.useInlineDescriptions ) {
|
||||
var helpPopup = new ve.ui.MWFloatingHelpElement( {
|
||||
label: mw.message( 'visualeditor-dialog-transclusion-help-title' ).text(),
|
||||
title: mw.message( 'visualeditor-dialog-transclusion-help-title' ).text(),
|
||||
$message: new OO.ui.FieldsetLayout( {
|
||||
items: [
|
||||
new OO.ui.LabelWidget( {
|
||||
|
|
|
@ -22,6 +22,7 @@ ve.ui.MWFloatingHelpElement = function VeUiMWFloatingHelpElement( config ) {
|
|||
this.helpButton = new OO.ui.ButtonWidget( {
|
||||
icon: 'help',
|
||||
label: config.label,
|
||||
title: config.title,
|
||||
invisibleLabel: true,
|
||||
flags: 'progressive',
|
||||
rel: 'help',
|
||||
|
|
Loading…
Reference in a new issue