Event Timeline
The script now covers both (potential) issues, so I merged T95595: A10. Run page creation script (for missing page and revision entries) in production in.
Ran it in Beta Cluster:
Failures are expected (wikis that do not exist on Beta Cluster).
I ran some quick tests on the Beta Cluster (including purges, a new topic, and a reply), and don't see any problems
@matthiasmullie, I replied to an email regarding this. But to keep things in Phabricator as well, are there still patches that block running the script in production (tonight the second version of FlowUpdateWorkflowPageId will get SWAT-ed out, but I'm not going to run it yet)?
@Mattflaschen: all patches blocking this script have already been merged since a week. (https://gerrit.wikimedia.org/r/#/c/204735 & a couple of others)
Those will roll out to last wikis tomorrow, so we can then run the script.
After the script has run, we still have these unreviewed related patches left:
Should go out soon:
Really small fixes (that could cause corrupt data) now that we have good data in place, + the patch to display the delete menu:
https://gerrit.wikimedia.org/r/#/c/205247/
https://gerrit.wikimedia.org/r/#/c/205613/
https://gerrit.wikimedia.org/r/#/c/198230/
^^ we can probably cherry-pick these this week.
Additional but not urgent cleanups:
Some more small fixes, removing old workarounds:
https://gerrit.wikimedia.org/r/#/c/205614/
https://gerrit.wikimedia.org/r/#/c/205612/
https://gerrit.wikimedia.org/r/#/c/205579/
^^ These can go out whenever.
I've merged https://gerrit.wikimedia.org/r/#/c/205247/ and https://gerrit.wikimedia.org/r/#/c/205612/1 .
For https://gerrit.wikimedia.org/r/#/c/205613/ , we need to first decide a spec issue at https://phabricator.wikimedia.org/T90974#1254005 . We get the first three into wmf/1.26wmf5 (and any branch any of them are cherry-picked to), to avoid further inconsistencies.
This means before Wed. branch cut, preferably by Tuesday.
Reopening: we'll want to run this script again for T97664: A18. Moving Talk:Search to Talk:Search/Old gives a fatal exception (after merging the change)
Re-run on Beta:
No updates this time (probably indicating we had no deletions/recreations or deletions/undeletions here).