[20:28:43] Does somebody have an idea why a hook from the `mediawiki-component-commonwebapis` library is executed on wikis that (to my knowledge) don't have any extensions installed that require the library? This causes errors because there was an SQL change in the library recently () [20:29:30] Maybe the library is autoloaded on all wikis and always registers its hooks when that happens, even if no extension actually uses it? [20:32:19] is executed for some reason... [20:37:12] this affects at least 112 wikis [20:50:34] I think I've found the cause [21:05:49] Why are they registering their hooks like that? Anything mw stake touches turns to shit [21:07:49] no idea [21:10:45] [1/14] @rhinosf1 it appears it's impossible to run GenerateExtensionDatabaseList with mwscript because mwscript consumes the `--extension` parameter [21:10:45] [2/14] ```sh [21:10:46] [3/14] [somerandomdeveloper@mwtask181:~]$ mwscript MirahezeMagic:GenerateExtensionDatabaseList loginwiki --directory=/home/somerandomdeveloper --extension=commentstreams [21:10:46] [4/14] Will execute: [21:10:46] [5/14] sudo -u www-data php /srv/mediawiki/1.44/maintenance/run.php MirahezeMagic:GenerateExtensionDatabaseList --wiki=metawiki --extension=commentstreams --directory=/tmp [21:10:47] [6/14] sudo -u www-data /usr/local/bin/foreachwikiindblist /tmp/commentstreams.php /srv/mediawiki/1.44/maintenance/run.php MirahezeMagic:GenerateExtensionDatabaseList loginwiki --directory=/home/somerandomdeveloper [21:10:47] [7/14] ``` [21:10:47] [8/14] It's also not possible to run a maintenance script in a home directory using mwscript when using `--extension` [21:10:48] [9/14] ```sh [21:10:48] [10/14] [somerandomdeveloper@test151:~]$ mwscript /home/somerandomdeveloper/FixMwsTitleIndex.php --extension=commentstreams [21:10:48] [11/14] Will execute: [21:10:48] [12/14] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php MirahezeMagic:GenerateExtensionDatabaseList --wiki=metawikibeta --extension=commentstreams --directory=/tmp [21:10:49] [13/14] sudo -u www-data /usr/local/bin/foreachwikiindblist /tmp/commentstreams.php /srv/mediawiki/1.45/maintenance/run.php /srv/mediawiki/1.45//home/maintenance/somerandomdeveloper [21:10:49] [14/14] ``` [21:11:02] I'm trying to run a migration script I wrote on wikis with CommentStreams enabled [21:11:12] I swear we fixed that [21:11:20] Maybe I never copied the fix between the two versions [21:11:32] Or maybe I never fixed it [21:11:33] I'm just gonna use php I guess and log it manually [21:11:37] There's definitely a task [21:11:40] ah [21:12:06] The latter bit I didn't know about [21:12:09] The former I do [21:12:14] I've forgot what the answer was [21:12:39] I should make finally finishing the next version of mwdeploy a 2026 goal [21:13:14] It was a 2021,2022,2023,2024 and 2025 goal I think so whether it'll happen is a whole other question