stable

Clone or download

Read-only

feat: Redirect to new MW

If user tries to access to a legacy MediaWiki page after it has been migrated by the siteadmin, then it currently gets an error page "Mediawiki service is not active in this project". Instead I suggest to redirect to the new service instead. Part of story #26041: migrate mediwiki from 1.23 to 1.35.X Change-Id: Id17c561a32b5d9fdf9b459eef34c893af97d4aeb

Modified Files

Name
A plugins/mediawiki/include/Migration/ToStandaloneMediawikiRedirector.php +53 −0 Go to diff View file
M plugins/mediawiki/site-content/fr_FR/LC_MESSAGES/tuleap-mediawiki.po +8 −1 Go to diff View file
M plugins/mediawiki/site-content/pt_BR/LC_MESSAGES/tuleap-mediawiki.po +5 −0 Go to diff View file
A plugins/mediawiki/tests/unit/Migration/ToStandaloneMediawikiRedirectorTest.php +101 −0 Go to diff View file
M plugins/mediawiki/www/LocalSettings.php +5 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Service/MediawikiStandaloneService.php +13 −0 Go to diff View file