jenkins-bot has submitted this change and it was merged.

Change subject: Use mw.msg rather than jquery.i18n
......................................................................


Use mw.msg rather than jquery.i18n

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

Task: T122341
Change-Id: Ib04011b8c672cd50c02a73791257650fa3dfc1dd
---
M resources/js/ext.uls.compactlinks.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Santhosh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/js/ext.uls.compactlinks.js 
b/resources/js/ext.uls.compactlinks.js
index 995f3f4..bbbad34 100644
--- a/resources/js/ext.uls.compactlinks.js
+++ b/resources/js/ext.uls.compactlinks.js
@@ -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 )
                                ) );

-- 
To view, visit https://gerrit.wikimedia.org/r/284868
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib04011b8c672cd50c02a73791257650fa3dfc1dd
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to