Jump to content

Extension talk:CommunityConfiguration/Technical documentation

Add topic
From mediawiki.org
Latest comment: 1 month ago by SGimeno (WMF) in topic Migrations

Migrations

[edit]

@SGimeno (WMF): According to § Run the migration, the wiki administrator needs to run a separate maintenance script to keep the extension working. On WMF wikis, it’s no problem, since you want to migrate on your own cadence anyway, but on third-party wikis, it’s just another thing the administrator needs to remember doing. Couldn’t it be integrated into update.php so that it’s automatically run as part of the standard upgrade process? —Tacsipacsi (talk) 11:04, 7 July 2024 (UTC)Reply

Thanks for your question, I understand this can be a burden for non-WMF maintained wikis, and even for WMF ones, for developer setups etc. I'm not sure if integrating with update.php in particular is possible since from what I understand the script is scoped to data base schema changes (MariaDB, Postgres) and Community Configuration schemas are a different thing. But I'm not very familiar with that part of the codebase there could be some hook or ways to integrate with it that I'm missing. Let me have a preliminary consultation with engineers see if we can find a solution to ease the migration process. SGimeno (WMF) (talk) 12:19, 16 July 2024 (UTC)Reply
We have filed your request in https://phabricator.wikimedia.org/T370296 and we will brainstorm about alternatives to improve the current status quo. Feel free to chime in the task. Thanks for your interest and feedback. SGimeno (WMF) (talk) 15:22, 17 July 2024 (UTC)Reply