Move some more php files under includes
Change-Id: I55d536e05c50a90f0805a6dc4252cc003ee0c7bb
This commit is contained in:
@@ -44,15 +44,15 @@
|
||||
]
|
||||
},
|
||||
"AutoloadClasses": {
|
||||
"ApiLanguageSearch": "api/ApiLanguageSearch.php",
|
||||
"ApiULSLocalization": "api/ApiULSLocalization.php",
|
||||
"ApiLanguageSearch": "includes/api/ApiLanguageSearch.php",
|
||||
"ApiULSLocalization": "includes/api/ApiULSLocalization.php",
|
||||
"FontRepoCompiler": "includes/FontRepoCompiler.php",
|
||||
"LanguageNameSearch": "data/LanguageNameSearch.php",
|
||||
"LanguageNameSearchData": "data/LanguageNameSearchData.php",
|
||||
"ResourceLoaderULSJsonMessageModule": "includes/ResourceLoaderULSJsonMessageModule.php",
|
||||
"ResourceLoaderULSModule": "includes/ResourceLoaderULSModule.php",
|
||||
"ULSJsonMessageLoader": "includes/ULSJsonMessageLoader.php",
|
||||
"UniversalLanguageSelectorHooks": "UniversalLanguageSelector.hooks.php"
|
||||
"UniversalLanguageSelectorHooks": "includes/UniversalLanguageSelectorHooks.php"
|
||||
},
|
||||
"DefaultUserOptions": {
|
||||
"uls-preferences": "",
|
||||
|
||||
@@ -155,7 +155,7 @@ class UniversalLanguageSelectorHooks {
|
||||
$testModules['qunit']['ext.uls.tests'] = [
|
||||
'scripts' => [ 'tests/qunit/ext.uls.tests.js' ],
|
||||
'dependencies' => [ 'jquery.uls', 'ext.uls.init', 'ext.uls.preferences' ],
|
||||
'localBasePath' => __DIR__,
|
||||
'localBasePath' => dirname( __DIR__ ),
|
||||
'remoteExtPath' => 'UniversalLanguageSelector',
|
||||
];
|
||||
}
|
||||
@@ -491,7 +491,7 @@ class UniversalLanguageSelectorHooks {
|
||||
'mediawiki.ui.button',
|
||||
'mediawiki.user'
|
||||
],
|
||||
'localBasePath' => __DIR__ . '/resources',
|
||||
'localBasePath' => __DIR__ . '/../resources',
|
||||
'remoteExtPath' => 'UniversalLanguageSelector/resources'
|
||||
];
|
||||
$modules['ext.uls.preferences'] = [
|
||||
@@ -500,7 +500,7 @@ class UniversalLanguageSelectorHooks {
|
||||
'mediawiki.user',
|
||||
'mediawiki.api'
|
||||
],
|
||||
'localBasePath' => __DIR__ . '/resources',
|
||||
'localBasePath' => __DIR__ . '/../resources',
|
||||
'remoteExtPath' => 'UniversalLanguageSelector/resources'
|
||||
];
|
||||
if ( version_compare( $wgVersion, '1.32', '<' ) ) {
|
||||
@@ -516,7 +516,7 @@ class UniversalLanguageSelectorHooks {
|
||||
'mediawiki.user',
|
||||
'ext.eventLogging',
|
||||
],
|
||||
'localBasePath' => __DIR__ . '/resources',
|
||||
'localBasePath' => __DIR__ . '/../resources',
|
||||
'remoteExtPath' => 'UniversalLanguageSelector/resources',
|
||||
];
|
||||
if ( version_compare( $wgVersion, '1.33', '<' ) ) {
|
||||
Reference in New Issue
Block a user