InternationalScratchWiki / scratch-confirmaccount-v3

A new in-house account request system for the Scratch Wikis.
4 stars 6 forks source link

Changes to cu_changes table likely requiring changes to CheckUserIntegration.php for MW 1.40 and after #196

Open Dreamy-Jazz opened 4 months ago

Dreamy-Jazz commented 4 months ago

Hi. It seems that src/database/CheckUserIntegration.php needs updates to support newer MediaWiki versions. This is because the cu_changes no longer has the cuc_user column (removed in MW 1.40) and also no longer contains log entries starting MW 1.43 with these events being in the cu_log_event and cu_private_event tables.

See https://phabricator.wikimedia.org/T233004 for the change that removed the cuc_user column and https://phabricator.wikimedia.org/T324907 for the creation of these new tables that hold log events.

jacob-g commented 3 months ago

We generally use the LTS versions, which means our next upgrade won't be coming until 1.43 is released (December of this year at the earliest). Consequently this isn't a super high priority issue, but we should be ready to handle this when 1.43 comes around.