Currently, the DeletePagesForGood extension still relies on rev_text_id and ar_text_id, which are fields that MCR will make obsolete. With MCR, the extension should instead delete rows from the slots and content tables, and use content_address to determine which rows should be deleted from the text table. Also, to reduce errors, the extension should check to see if a content_id will still be used by another row in the slots table after deleting the page's revisions, and if so, will not delete the corresponding rows from the content and text tables.
Customize query in gerrit
|mediawiki/extensions/DeletePagesForGood||master||+117 -17||Remove references to db fields rev_text_id and ar_text_id|