stable

Clone or download

Read-only

Allow the migration of all legacy MW with some content

Projects with MW 1.23 with some content cannot start using the new MW service without migrating first. We need to allow them to be migrated otherwise administrators are in an impossible situation where they cannot activate the new service but also cannot migrate them. Part of story #26041: migrate mediwiki from 1.23 to 1.35.X Change-Id: I28535fc3c0b43e876bc66286b414c53de91fde61

Modified Files

Name
A plugins/mediawiki_standalone/db/mysql/updates/2023/202303231500_drop_from_legacy_mw_migrated_instance.php +43 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/CheckOngoingInitializationStatus.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/InstanceManagement.php +3 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/Migration/Admin/LegacyReadyToMigrateDao.php +6 −21 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/Migration/MigrateInstance.php +9 −6 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/OngoingInitializationsDao.php +26 −10 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/OngoingInitializationsState.php +3 −3 Go to diff View file
M plugins/mediawiki_standalone/include/Service/MediawikiFlavorUsageDao.php +9 −1 Go to diff View file
M plugins/mediawiki_standalone/include/Service/MediawikiStandaloneService.php +2 −2 Go to diff View file
M plugins/mediawiki_standalone/include/Service/UnderConstructionController.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +5 −3 Go to diff View file
M plugins/mediawiki_standalone/tests/integration/Instance/OngoingInitializationsDaoTest.php +34 −24 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/CheckOngoingInitializationStatusStub.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/InstanceManagementTest.php +2 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/Migration/MigrateInstanceTest.php +23 −18 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/OngoingInitializationsStateStub.php +3 −3 Go to diff View file