stable

Clone or download

Read-only

feat: Display list of project to migrate

As siteadmin I have a new siteadmin entry "MediaWiki standalone" So that I can see the list of active projects that are using legacy mediawiki, and the status of the ongoing migration, if any. If a project has already started a migration, a badge info is displayed and the button to start the migration is disabled. If a project migration ended in error, a badge danger is displayed and the button to start the migration is disabled. If a project is not allowed to use the plugin, then a badge is displayed and the button to start the migration is disabled. If a project has activated the legacy service but never initialized it, then it is not listed at all for now, it deserves a special treatment in a dedicated contribution. The table can be filtered with the project name or the status of the migration. For now the button to start the migration does nothing, scheduling of the migration will be part of a dedicated contribution. Part of story #26041: migrate mediwiki from 1.23 to 1.35.X Change-Id: I21d131be70c03c7c7225a6e4d57f8c3b89e526e0

Modified Files

Name
A plugins/mediawiki_standalone/include/Instance/Migration/Admin/DisplayMigrationController.php +99 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Instance/Migration/Admin/LegacyReadyToMigrateDao.php +51 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Instance/Migration/Admin/LegacyReadyToMigratePresenter.php +54 −0 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +31 −0 Go to diff View file
A plugins/mediawiki_standalone/scripts/siteadmin/package.json +19 −0 Go to diff View file
A plugins/mediawiki_standalone/scripts/siteadmin/pnpm-lock.yaml +11 −0 Go to diff View file
A plugins/mediawiki_standalone/scripts/siteadmin/src/index.ts +27 −0 Go to diff View file
A plugins/mediawiki_standalone/scripts/siteadmin/tsconfig.json +9 −0 Go to diff View file
A plugins/mediawiki_standalone/scripts/siteadmin/vite.config.ts +37 −0 Go to diff View file
M plugins/mediawiki_standalone/site-content/fr_FR/LC_MESSAGES/tuleap-mediawiki_standalone.po +55 −0 Go to diff View file
M plugins/mediawiki_standalone/site-content/pt_BR/LC_MESSAGES/tuleap-mediawiki_standalone.po +53 −0 Go to diff View file
A plugins/mediawiki_standalone/templates/siteadmin/legacy-migration.mustache +98 −0 Go to diff View file
M src/common/admin/AdminPageRenderer.php +2 −2 Go to diff View file