Use mw.msg rather than jquery.i18n

No need to use jquery.i18n here, and avoids going through html

Task: T122341
Change-Id: Ib04011b8c672cd50c02a73791257650fa3dfc1dd
This commit is contained in:
Niklas Laxström
2016-04-22 09:13:18 +02:00
committed by Nikerabbit
parent aca1545513
commit d2ef6405cb

View File

@@ -326,7 +326,7 @@
$trigger = $( '<button>' )
.addClass( 'mw-interlanguage-selector mw-ui-button' )
.html( $.i18n(
.text( mw.msg(
'ext-uls-compact-link-count',
mw.language.convertNumber( this.listSize - this.compactSize )
) );