This is the follow-up ticket to T115081 There is maintenance script in Core (attachLatest.php) that fixes the references for pages with existing revisions. Pages that have no revisions can obviously not be corrected and should probably be deleted.
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T115081 Determine root cause of inaccessible pages having `page_latest = 0` | |||
| Duplicate | PRODUCTION ERROR | None | T258321 Fatal exception of type "MWException" on arzwiki when renaming articles | ||
| Open | TheresNoTime | T261797 Fix remaining page records with page_latest == 0 in database. |
Event Timeline
Removing the DBA tag here as there's nothing for us to do, as we don't really run maintenance scripts.
I will kept subscribed to this task in case I'm needed for something else!
As long as the script has wait for replication and isn't issuing big deletes, it should be fine tu be run anytime. But a heads-up on this task would be useful
Thanks!
This appears to be blocking resolution of a production error (T258321), and is pending action by PE. Politely asking for re-triage as it appears to be moved to Tracking without an obvious reason or by accident.
There are just 16 of these; I call them the "Sweet Sixteen". They've been in the database "forever". Why do you need a script to deal with just 16 items? Why can't someone just manually delete them?
Given
[samtar@deploy2002 ~]$ mwscript-k8s -f -- attachLatest.php --wiki=enwiki ⏳ Starting attachLatest.php on Kubernetes as job mw-script.eqiad.m0m6vos4 ... ⏳ Waiting for the container to start... 🚀 Job is running. 📜 Streaming logs: Looking for pages with page_latest set to 0... enwiki 19113987 [[User talk:1r3gr37n0n]] can't find latest rev time?! enwiki 19399178 [[User talk:Vd437]] can't find latest rev time?! enwiki 20513897 [[User talk:Heelo1]] can't find latest rev time?! enwiki 22427194 [[User talk:HOTPOCKETSG]] can't find latest rev time?! enwiki 22427202 [[User talk:Jaeh0317]] can't find latest rev time?! enwiki 24090446 [[User talk:Mightym53821]] can't find latest rev time?! enwiki 33750317 [[User talk:68.148.238.76]] can't find latest rev time?! enwiki 35711061 [[User talk:Lilyonthevalley]] can't find latest rev time?! enwiki 36111672 [[Wikipedia:Articles for deletion/2009 Sulu kidnapping crisis]] can't find latest rev time?! enwiki 36111674 [[Wikipedia:Articles for deletion/3 Libras (song)]] can't find latest rev time?! enwiki 36111680 [[User talk:Ttylxox1000]] can't find latest rev time?! enwiki 36111682 [[Wikipedia:Articles for deletion/333: A Bibliography of the Science-Fantasy Novel]] can't find latest rev time?! enwiki 36111687 [[Wikipedia:Articles for deletion/2009 Sulu kidnapping crisis (2nd nomination)]] can't find latest rev time?! enwiki 36111692 [[Wikipedia:Articles for deletion/2009 Sulu kidnapping crisis (3rd nomination)]] can't find latest rev time?! enwiki 36111727 [[User talk:Vishal.gkamath]] can't find latest rev time?! enwiki 41990041 [[User talk:71.129.57.41]] can't find latest rev time?! Done! Processed 0 pages. This was a dry run; rerun with --fix to update page_latest.
I've gone through and deleted some of these (the User talk pages, for now) after confirming there are no revisions nor logging table entries for them: