diff --git a/modules/ve-mw/init/ve.init.mw.Target.js b/modules/ve-mw/init/ve.init.mw.Target.js index efe426ce6d..31ff4f3912 100644 --- a/modules/ve-mw/init/ve.init.mw.Target.js +++ b/modules/ve-mw/init/ve.init.mw.Target.js @@ -277,7 +277,10 @@ ve.init.mw.Target.static.name = 'mwTarget'; */ ve.init.mw.Target.static.apiRequest = function ( data, settings ) { var key, formData; - data = ve.extendObject( { 'format': 'json' }, data ); + data = ve.extendObject( { + 'format': 'json', + 'uselang': mw.config.get( 'wgUserLanguage' ) + }, data ); settings = ve.extendObject( { 'url': mw.util.wikiScript( 'api' ), 'dataType': 'json',