stable

Clone or download

Read-only

feat: Migrate permissions

bot and bureaucrat are ignored but other permissions should be copied from legacy service to the new one. One exception though: admin for mediawiki standalone does not include groups outside of project (registered & co). Part of story #26041: migrate mediwiki from 1.23 to 1.35.X Change-Id: I10c0289a87633d633cc41119363fbd30dd205265

Modified Files

Name
M plugins/mediawiki_standalone/include/Instance/InstanceManagement.php +3 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/Migration/MigrateInstance.php +19 −7 Go to diff View file
A plugins/mediawiki_standalone/include/Permissions/LegacyPermissionsMigrator.php +26 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Permissions/MediawikiPermissionsDao.php +44 −1 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +1 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/integration/Permissions/MediawikiPermissionsDaoTest.php +95 −5 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 +34 −10 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Permissions/LegacyPermissionsMigratorStub.php +47 −0 Go to diff View file