•  
     
    story #26041 migrate mediwiki from 1.23 to 1.35.X
Summary
Empty
migrate mediwiki from 1.23 to 1.35.X
Empty

There is a technical prerequisite to manage the users at migration time, it's described in art #27899

Functional requirement

Step 1: qualify migration

As a site administrator, I should be able to trigger (with CLI & UI) a migration from mediawiki 1.23 to 1.35 for one project.

Step 2: migration for the masses

When we are confident enough with the migration process.

As a project administrator, I should be able to trigger migration to 1.35 when site administrator granted the permissions.

Step 3: migration for the rest of us

When it's time to drop legacy mediawiki.

As site administrator, I should be able to trigger the migration of all remaining MediaWiki to standalone mode.

Technical requirement

The organisation of the code base should prepare 1.39 bump as well:

  • 1.35 sources will be moved to /1.35/ sub-directory
  • There will be a link at the source of mw flavor package /current that will point toward 1.35 sub dir
Empty
Empty
Status
Mediawiki Standalone
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#26041
Manuel Vacelet (vaceletm)
2023-04-27 14:20
2022-03-29 11:47
3657

References
Referencing story #26041

Git commit

tuleap/tuleap/stable

feat: temporary page for MW under construction 479bc758ef
feat(mw-standalone): Introduce migration event c969a36f69
Refactor MW CreateInstance operation to be similar to MigrateInstance c036d3d644
fix: Disallow access to MW when service is disabled 1edfb2b20e
Explicit error message a0bc0401e6
feat: Switch service when starting migration a02824d134
feat: Display error page when MW migration gone bad 1fb70fbefc
Fix migration process when the MW instance does not use a central DB f634380ffe
feat: display real MW when migration is complete 78be32167b
Move code related to the migration process into a subnamespace 613e4d0c5e
Project cannot be migrated if they don't use MW service 8821ec559d
feat: Use the language of the current MW when migrating it b1c1f8f18a
Remove unused code from UnderConstructionController ecbaeaabef
feat: Display list of project to migrate 412f00784e
Create the user mapping table when migrating a MW 1.23 465dc229fb
feat: Start migration from Web UI 35608750a6
The MediaWiki standalone code should not depend on \MediaWikiPlugin constant 0f36256272
Deal with pending 'single DB migration' before migrating to MW Standalone d9e831a011
Ignore MW standalone that are not yet initialized when running upgrades fef06de825
feat: Confirmation modal for migration e0aff989ea
feat: Hide migration UI under FeatureFlag 593c1f2e6e
Allow the migration of all legacy MW with some content 16789a68b6
feat: Redirect to new MW 7ee0b015ff
fix: typo in service.icon usage 93297c2ae8
Creating a new MW Standalone has now the nice initialization state d6e49d0e52
feat: Migrate permissions 13cf559f50
feat: 301 when initialization is finished e0070379a7
Move MW 1.35 code into a subfolder 2e4da1f9d2
Bump MediaWiki extensions 03943526ac
Migrating a MW 1.23 instance to MW Standalone now uses the CLI dab5dccb65
Make sure we do not leak anything sensitive in stacktraces when an issue occurs in MW management commande da3e000661
mediawiki/tuleap-skin: 1.0.5 -> 1.0.6, mediawiki/tuleap-wiki-farm: 1.1.3 -> 1.1.5 a81e5fcd55
Run MediaWiki CLI tools with PHP 8.1 882dcc1c2e
Disable default process timeout in TuleapWikiFarm MW extension ec4ad1b2a2
Make sure MediaWiki database have the expected name when migrating them to MW standalone e217e09125
Make sure MW data dir have the expected name before migrating them 162ef43bc3
fix taint analysis 3fbaa771a8

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Status changed from On going to Done
User avatar

gerrit #28292 integrated into Tuleap 14.7.99.51


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Category set to Mediawiki Standalone