mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-09-23 10:26:26 +00:00
Fix double escaping
e75284e528
escapes a few messages too eagerly but1fc00749fb
only fixes one of such mistakes. Without this change, the labels of some toolbar buttons (e.g. Italian 'Redirect', Welsh 'Numbered list') display ''' where apostrophes should be. Change-Id: I3265631512c5d22ecc3dafb9d56acecc7d50ad1d
This commit is contained in:
parent
d861bf41de
commit
e4d02b5e9a
|
@ -286,7 +286,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
label = $.wikiEditor.autoSafeMsg( tool, 'label' );
|
||||
label = $.wikiEditor.autoMsg( tool, 'label' );
|
||||
switch ( tool.type ) {
|
||||
case 'button':
|
||||
case 'toggle':
|
||||
|
|
Loading…
Reference in a new issue