Context: As part of WE 1.5.4, we are defining a Monthly Active Moderators metric. This metric will count the number of users, per wiki, who perform x number of moderator actions during a given month. As part of this work, we need to determine whether moderator actions were performed on desktop vs mobile.
One of the proposed moderator actions to be used as a signal for this metric is "Running a check (via checkuser)". So we need to be able to query change tags associated with specific CheckUser checks, in order to see whether or not the check was done on mobile or not. To do this, I need to join mediawiki_private_cu_log with mediawiki_logging, so that I can then join with the change_tag table.
Problem: I don't see a foreign key in mediawiki_private_cu_log that allows me to join with mediawiki_logging. Is it possible that a log id field (like cule_log_id which is available in the cu_log_event_table) is missing from mediawiki_private_cu_log?