[19:39:35] πŸ‘‹ Hello everyone!! [19:39:36] We are about to introduce a big change in WikiLambda that will break with the old data. I have been working on a migration script that ✨I'm hoping ✨ will allow everyone keep their custom ZObjects, although it will have to totally overwrite all the built-in objects. [19:39:37] [19:39:39] These are the changes: [19:39:40] πŸ”” Patch https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/798987 is the one introducing the break. From this point, for WikiLambda to work we must: [19:39:42] * Either do a blank installation [19:39:43] * Or update the submodule and run the migration script this way: [19:39:45] ``` [19:39:46] $ git submodule update --init --recursive [19:39:48] $ docker compose exec mediawiki php extensions/WikiLambda/maintenance/updateTypedLists.php --db [19:39:49] ``` [19:39:51] πŸ”” (currently master's HEAD) Patch https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/800253 is a temporary patch that will allow us to use the UX normally until everything is finally migrated to work with canonical typed lists (Benjamin arrays!) [19:39:52] [19:39:54] Thaaanks! Let us know if you have any issues! [20:21:07] is it possible to wire up that maintenance script with `update.php` (via LoadExtensionSchemaUpdates (https://w.wiki/5DDX))? then Not Wikilambda and Beta Wikifunctions should work without any manual action [21:55:40] Hmm that might not be a good idea with this one. It's a bit of a heavy script, and it overwrites data every time it's run. I'd think we'd be safer running it manually, sorry for that! πŸ˜– [21:59:54] there are plenty of heavy scripts in update.php, just today I ran one that completed the actor table migration on my local wiki [22:00:05] (might have been merged somewhere in the past week or two, I hadn’t pulled core in a while) [22:00:15] and there’s a mechanism to ensure a script only gets run once [22:14:50] πŸ‘ Sweet [22:16:11] We'll look into it and update here then πŸ™‚ thanks!! [22:27:48] Weekly update: A proposal for the NLG architecture https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Updates/2022-05-27