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.
|Open||None||T115081 Determine root cause of inaccessible pages having `page_latest = 0`|
|Open||None||T261797 Fix remaining page records with page_latest == 0 in database.|
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