ResourceLoader Module for serving json based localization messages
ApiULSLocalization is still present since we have to provide live language preview feature. Moved the loading of json file to includes/JsonMessageLoader.php Also moved all RL modules to includes folder. Bug: 56509 Change-Id: Ic39dec1c484982fb07edd167e83794c0b5f470ee
This commit is contained in:
committed by
Niklas Laxström
parent
03dabe1681
commit
76e82e4a9c
@@ -152,9 +152,12 @@ $wgExtensionMessagesFiles['UniversalLanguageSelector'] =
|
||||
// Register auto load for the page class
|
||||
$wgAutoloadClasses += array(
|
||||
'UniversalLanguageSelectorHooks' => __DIR__ . '/UniversalLanguageSelector.hooks.php',
|
||||
'ResourceLoaderULSModule' => __DIR__ . '/ResourceLoaderULSModule.php',
|
||||
'ResourceLoaderULSModule' => __DIR__ . '/includes/ResourceLoaderULSModule.php',
|
||||
'ResourceLoaderULSJsonMessageModule' =>
|
||||
__DIR__ . '/includes/ResourceLoaderULSJsonMessageModule.php',
|
||||
'ApiLanguageSearch' => __DIR__ . '/api/ApiLanguageSearch.php',
|
||||
'ApiULSLocalization' => __DIR__ . '/api/ApiULSLocalization.php',
|
||||
'JsonMessageLoader' => __DIR__ . '/includes/JsonMessageLoader.php',
|
||||
'LanguageNameSearch' => __DIR__ . '/data/LanguageNameSearch.php',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user