patch to maintenance/orphans.php
Running maintenance/orphans.php --fix causes lock error on redirect table. The way to test this is to use deleteRevision.php on the most recent revision of an article, and then run orphans.php. The lock error occurs in Article::updateRevisionOn.
Version: 1.12.x
Severity: minor
Attached: