stable

Clone or download

Read-only

Give site admin more control on mediawiki switch to version 1.23

Site admins can create a /var/tmp/tuleap_cache/STOP_SYSTEM_EVENT file to stop execution if they need to stop it (because it's too long and block the main system events queue). Fix the way global switcher compute how projects are migrated to 1.23. Rely on version registered in DB after switch rather than the allowed projects in resource restrictor because the later will not be accurate if there is a failure or if admins decide to stop the migration (previous ยง). Part of request #10685 Migrate all mediawiki bases to 1.23 Change-Id: I63436fcd6d9d3e4f7e4e79f75bde8635acebdff0

Modified Files

Name
M plugins/mediawiki/bin/migrate_to_123.php +8 โˆ’2 Go to diff View file
M plugins/mediawiki/include/MediawikiSiteAdminController.class.php +7 โˆ’6 Go to diff View file
M plugins/mediawiki/include/MediawikiSiteAdminResourceRestrictor.php +0 โˆ’13 Go to diff View file
M plugins/mediawiki/include/MediawikiSiteAdminResourceRestrictorDao.php +0 โˆ’23 Go to diff View file
M plugins/mediawiki/include/MediawikiVersionDao.php +14 โˆ’3 Go to diff View file
M plugins/mediawiki/include/MediawikiVersionManager.php +5 โˆ’0 Go to diff View file
M plugins/mediawiki/include/events/SytemEvent_MEDIAWIKI_SWITCH_TO_123.class.php +22 โˆ’10 Go to diff View file
M plugins/mediawiki/include/mediawikiPlugin.class.php +5 โˆ’1 Go to diff View file