Make ext.uls.mediawiki depend upon ext.uls.init
With the user preference now enabled, we can no longer assume that ext.uls.init will be loaded on every view. This also fixes integration with the Translate extension. Bug: 46306 Change-Id: I05c76e478ddcfb29000471dc79ca35ce77ad59b8
This commit is contained in:
@@ -205,6 +205,7 @@ $wgResourceModules['ext.uls.mediawiki'] = array(
|
|||||||
'jquery.uls',
|
'jquery.uls',
|
||||||
'jquery.i18n',
|
'jquery.i18n',
|
||||||
'mediawiki.util',
|
'mediawiki.util',
|
||||||
|
'ext.uls.init',
|
||||||
'ext.uls.languagenames',
|
'ext.uls.languagenames',
|
||||||
),
|
),
|
||||||
) + $resourcePaths;
|
) + $resourcePaths;
|
||||||
|
|||||||
Reference in New Issue
Block a user