mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Make dependencies of jquery.uls.data more specific
Change-Id: I135defffc71d8aa61dc74bb871da96737a3eeb0c
This commit is contained in:
parent
b5c16ac95c
commit
d1da56a6cb
|
@ -432,8 +432,7 @@
|
|||
"user.tokens",
|
||||
"ext.visualEditor.base",
|
||||
"ext.visualEditor.track",
|
||||
"ext.visualEditor.targetLoader",
|
||||
"jquery.uls.data"
|
||||
"ext.visualEditor.targetLoader"
|
||||
],
|
||||
"messages": [
|
||||
"visualeditor-quick-access-characters.json",
|
||||
|
@ -1597,7 +1596,8 @@
|
|||
],
|
||||
"dependencies": [
|
||||
"ext.visualEditor.core",
|
||||
"mediawiki.language.names"
|
||||
"mediawiki.language.names",
|
||||
"jquery.uls.data"
|
||||
],
|
||||
"messages": [
|
||||
"visualeditor-annotationbutton-language-tooltip",
|
||||
|
|
|
@ -158,13 +158,17 @@ ve.init.mw.Platform.prototype.getLanguageName = function ( code ) {
|
|||
* @method
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.init.mw.Platform.prototype.getLanguageAutonym = $.uls.data.getAutonym;
|
||||
ve.init.mw.Platform.prototype.getLanguageAutonym = function () {
|
||||
return $.uls.data.getAutonym();
|
||||
};
|
||||
|
||||
/**
|
||||
* @method
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.init.mw.Platform.prototype.getLanguageDirection = $.uls.data.getDir;
|
||||
ve.init.mw.Platform.prototype.getLanguageDirection = function () {
|
||||
return $.uls.data.getDir();
|
||||
};
|
||||
|
||||
/** @inheritdoc */
|
||||
ve.init.mw.Platform.prototype.getUserLanguages = function () {
|
||||
|
|
Loading…
Reference in a new issue