stable

Clone or download

Read-only

feat: display real MW when migration is complete

If users are facing a UnderConstruction page and they refresh the page, then they are redirected to MW pages if the migration is finally done. Part of: story #26041 migrate mediwiki from 1.23 to 1.35.X Change-Id: Iff09f666745a53e874f70fb828739205f8511d30

Modified Files

Name
R plugins/mediawiki_standalone/include/Instance/CheckOngoingInitializationsError.php Go to diff View file
M plugins/mediawiki_standalone/include/Instance/MigrateInstance.php +2 −1 Go to diff View file
A plugins/mediawiki_standalone/include/Instance/OngoingInitializationStatus.php +46 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/OngoingInitializationsDao.php +21 −13 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/OngoingInitializationsState.php +2 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Service/MediawikiStandaloneService.php +5 −4 Go to diff View file
M plugins/mediawiki_standalone/include/Service/UnderConstructionController.php +10 −3 Go to diff View file
M plugins/mediawiki_standalone/tests/integration/Instance/OngoingInitializationsDaoTest.php +18 −7 Go to diff View file
R plugins/mediawiki_standalone/tests/unit/Instance/CheckOngoingInitializationsErrorStub.php Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/MigrateInstanceTest.php +2 −2 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/OngoingInitializationsStateStub.php +13 −2 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Service/UnderConstructionControllerTest.php +39 −7 Go to diff View file