stable

Clone or download

Read-only

Use the default language of the Tuleap instance when instantiating a MW instance

Part of request #28296: How to init MediaWiki in French? Change-Id: Idaae35a7347a982a87440cc7044700fe9376a9ce

Modified Files

Name
M plugins/mediawiki_standalone/include/Instance/CreateInstance.php +7 −3 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/CreateInstanceTask.php +6 −4 Go to diff View file
A plugins/mediawiki_standalone/include/Instance/InitializationLanguageCodeProvider.php +31 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Instance/ProvideSiteLevelInitializationLanguageCode.php +41 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Service/ServiceActivationHandler.php +6 −3 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +5 −4 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/InstanceManagementTest.php +2 −2 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Instance/ProvideInitializationLanguageCodeStub.php +34 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Instance/ProvideSiteLevelInitializationLanguageCodeTest.php +49 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Service/ServiceActivationHandlerTest.php +4 −3 Go to diff View file
M src/common/language/BaseLanguage.class.php +3 −2 Go to diff View file