stable

Clone or download

Read-only

Make sure we cannot activate the Mediawiki and MediaWiki standalone services at the same time

This would be confusing for users to have both services in the sidebar. Part of story #24227: have private oauth2 endpoints for Mediawiki Change-Id: I2eff7e446151cb3a96df6e64d3515aa1aec5524e

Modified Files

Name
M plugins/mediawiki_standalone/composer.json +5 −0 Go to diff View file
R plugins/mediawiki_standalone/include/MediawikiStandaloneService.php Go to diff View file
A plugins/mediawiki_standalone/include/Service/ServiceActivation.php +31 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Service/ServiceActivationHandler.php +42 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Service/ServiceActivationProjectServiceBeforeActivationEvent.php +49 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Service/ServiceActivationServiceDisabledCollectorEvent.php +48 −0 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +19 −2 Go to diff View file
M plugins/mediawiki_standalone/site-content/fr_FR/LC_MESSAGES/tuleap-mediawiki_standalone.po +14 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Service/ServiceActivationHandlerTest.php +65 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Service/ServiceActivationProjectServiceBeforeActivationEventTest.php +47 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Service/ServiceActivationServiceDisabledCollectorEventTest.php +46 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Service/StubServiceActivation.php +52 −0 Go to diff View file
M tests/psalm/psalm.xml +1 −0 Go to diff View file