stable
Clone or download
Read-only
Make sure MediaWiki database have the expected name when migrating them to MW standalone
MW instances instantiated a long time ago were using the project name instead of the project ID in the database name. This is problematic for MediaWiki standalone because it expects the naming scheme to be respected in order to find the DB. Part of story #26041: migrate mediwiki from 1.23 to 1.35.X Change-Id: I3e6ea9c377708c9320b7634fe93b29fd737d7bab
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/mediawiki_standalone/include/Instance/Migration/LegacyMediawikiDBPrimer.php | +1 | −1 | Go to diff View file |
M | plugins/mediawiki_standalone/include/Instance/Migration/MigrateInstance.php | +0 | −1 | Go to diff View file |
M | plugins/mediawiki_standalone/include/Instance/Migration/PrimeLegacyMediawikiDB.php | +17 | −11 | Go to diff View file |
M | plugins/mediawiki_standalone/tests/integration/Instance/Migration/PrimeLegacyMediawikiDBTest.php | +0 | −2 | Go to diff View file |
M | plugins/mediawiki_standalone/tests/unit/Instance/Migration/LegacyMediawikiDBPrimerStub.php | +1 | −1 | Go to diff View file |