Don't try to i18n-parse JSON string

Bug: T167051
Change-Id: Idf07ba51d2681f0f5d275f2a732d77cd85e63d03
This commit is contained in:
Ed Sanders 2017-06-06 11:12:41 +01:00
parent 748d301680
commit 4484f5c316

View file

@ -197,7 +197,7 @@ ve.init.mw.Platform.prototype.fetchSpecialCharList = function () {
return mw.loader.using( 'mediawiki.language.specialCharacters' ).then( function () {
var characters = {},
otherGroupName = mw.msg( 'visualeditor-special-characters-group-other' ),
otherMsg = mw.msg( 'visualeditor-quick-access-characters.json' ),
otherMsg = mw.message( 'visualeditor-quick-access-characters.json' ).plain(),
other, groupObject;
try {