stable

Clone or download

Read-only

Deal with pending 'single DB migration' before migrating to MW Standalone

MW Standalone supports both mode but it is either one of the other, it cannot mix the two. When using the 'single DB' mode, we need to to make sure MW instances are using this mode before trying to move them to MediaWiki standalone. Part of story #26041: migrate mediwiki from 1.23 to 1.35.X Change-Id: I53a883f70ec971b99233a98f826f8a0f3c6dffb4

Modified Files

Name
M plugins/mediawiki_standalone/include/Instance/Migration/LegacyMediawikiDBPrimer.php +8 −1 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/Migration/MigrateInstance.php +42 −34 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/Migration/PrimeLegacyMediawikiDB.php +106 −4 Go to diff View file
M plugins/mediawiki_standalone/tests/integration/Instance/Migration/PrimeLegacyMediawikiDBTest.php +85 −6 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/Migration/LegacyMediawikiDBPrimerStub.php +4 −1 Go to diff View file
M src/common/Option/Option.php +21 −0 Go to diff View file
M tests/integration/bin/setup.sh +1 −1 Go to diff View file
M tests/unit/common/Option/OptionTest.php +7 −0 Go to diff View file