stable

Clone or download

Read-only

Closes request #35840: DB infos used by MW Standalone should be under Tuleap control

No functional changes expected. Existing MW instances continue to work and first install also work. DB credentials are now put into `/etc/tuleap/plugins/mediawiki_standalone/LocalSettings.local.php` when `tuleap-cfg site-deploy` is executed. Note that we still need to provide the real credentials when first installing the MW farm instance since the installation cannot use the LocalSettings.php file to source them (which make sense since one of its tasks is to create the file). Change-Id: I97859304613338a42191dfde7f1b89e148ea1dc9

Modified Files

Name
M plugins/mediawiki_standalone/include/Configuration/CannotPersistLocalSettings.php +2 −2 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsFactory.php +5 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsPersistToPHPFile.php +13 −6 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsRepresentation.php +3 −0 Go to diff View file
M plugins/mediawiki_standalone/templates/local-settings-tuleap-php.mustache +4 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsFactoryTest.php +8 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsPersistToPHPFileTest.php +1 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsRepresentationForTestBuilder.php +3 −0 Go to diff View file