stable

Clone or download

Read-only

Create the user mapping table when migrating a MW 1.23

A new table containing the mapping user ID <=> user name is created prior to launching the migration. Closes request #27899: Tuleap should inform MediaWiki about previous username Part of: story #26041 migrate mediwiki from 1.23 to 1.35.X Change-Id: I77f93e666c0e0f0b71e0008e7fe0054b4933877c

Modified Files

Name
M plugins/mediawiki_standalone/include/Instance/InstanceManagement.php +3 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Instance/Migration/LegacyMediawikiDBPrimer.php +28 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/Migration/MigrateInstance.php +22 −6 Go to diff View file
A plugins/mediawiki_standalone/include/Instance/Migration/PrimeLegacyMediawikiDB.php +80 −0 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +1 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/integration/Instance/Migration/PrimeLegacyMediawikiDBTest.php +69 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/InstanceManagementTest.php +2 −0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Instance/Migration/LegacyMediawikiDBPrimerStub.php +49 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/Migration/MigrateInstanceTest.php +14 −1 Go to diff View file