Use mw.msg() for parameter substitution

mw.msg() has already a parameter substitution of $1.
A separate .replace( '$1', ... ) is not necessary.

Change-Id: Ie77bddc4dfb60df36211ce821c1a6f7223cde706
This commit is contained in:
Fomafix
2016-11-06 15:44:07 +01:00
parent 6fc94d501f
commit 58777c4e37
2 changed files with 2 additions and 2 deletions

View File

@@ -301,7 +301,7 @@
helpHandler: function ( ime ) {
return $( '<a>' )
.attr( {
href: mw.msg( 'uls-ime-helppage' ).replace( '$1', ime ),
href: mw.msg( 'uls-ime-helppage', ime ),
target: '_blank',
title: $.i18n( 'ext-uls-ime-help' )
} )