Technical background
In T368151 we added two central tables, cuci_temp_edit and cuci_user, to keep track of which wikis have been recently edited by a temporary user from a particular IP address and to keep track of which wikis have edited by a given user respectively.
Both tables hold a timestamp column, and then a few other columns which make each row unique.
Before we can start to use this table for GUC / global autoblocks, we will need to populate it with existing data. CheckUser already has some maintenance scripts for populating other tables (see CheckUser/maintenance directory).
This work can only start once T371788 is complete, to ensure that no entries are lost. Therefore, this script should also be able to handle cases where the data to be populated matches the data already in the table.
It may be desired to create two maintenance scripts if we are ready to use it on one table but not the other table.
What needs doing
- Create a maintenance script for adding temporary user edits to the cuci_temp_edit and cuci_user tables
- Add this maintenance script to update.php
- Run this maintenance script on all wikis