Move now static ext.uls.compactlinks to extension.json
Change-Id: Ie074918ca58de4c62a6ba44caa48d429e561bb6b
This commit is contained in:
committed by
jenkins-bot
parent
8ee09f0ba1
commit
51d86ad5bb
@@ -473,23 +473,6 @@ class UniversalLanguageSelectorHooks {
|
||||
global $wgULSEventLogging, $wgVersion;
|
||||
|
||||
$modules = [];
|
||||
$modules['ext.uls.compactlinks'] = [
|
||||
'scripts' => 'js/ext.uls.compactlinks.js',
|
||||
'styles' => 'css/ext.uls.compactlinks.less',
|
||||
'dependencies' => [
|
||||
'mediawiki.jqueryMsg',
|
||||
'mediawiki.language',
|
||||
'mediawiki.ui.button',
|
||||
'ext.uls.init'
|
||||
],
|
||||
'messages' => [
|
||||
'ext-uls-compact-link-count',
|
||||
'ext-uls-compact-link-info',
|
||||
'ext-uls-compact-no-results'
|
||||
],
|
||||
'localBasePath' => __DIR__ . '/resources',
|
||||
'remoteExtPath' => 'UniversalLanguageSelector/resources'
|
||||
];
|
||||
$modules['ext.uls.displaysettings'] = [
|
||||
'scripts' => 'js/ext.uls.displaysettings.js',
|
||||
'styles' => 'css/ext.uls.displaysettings.less',
|
||||
|
||||
@@ -277,6 +277,23 @@
|
||||
"localBasePath": "resources",
|
||||
"remoteExtPath": "UniversalLanguageSelector/resources"
|
||||
},
|
||||
"ext.uls.compactlinks": {
|
||||
"scripts": "js/ext.uls.compactlinks.js",
|
||||
"styles": "css/ext.uls.compactlinks.less",
|
||||
"dependencies": [
|
||||
"mediawiki.jqueryMsg",
|
||||
"mediawiki.language",
|
||||
"mediawiki.ui.button",
|
||||
"ext.uls.init"
|
||||
],
|
||||
"messages": [
|
||||
"ext-uls-compact-link-count",
|
||||
"ext-uls-compact-link-info",
|
||||
"ext-uls-compact-no-results"
|
||||
],
|
||||
"localBasePath": "resources",
|
||||
"remoteExtPath": "UniversalLanguageSelector/resources"
|
||||
},
|
||||
"jquery.uls": {
|
||||
"targets": [ "desktop", "mobile" ],
|
||||
"scripts": [
|
||||
|
||||
Reference in New Issue
Block a user