Follow up to rEFLW39ea2b9964f4: Use ArticleRevisionUndeleted instead of ArticleUndelete / T122262: Improve Flow deletion/undeletion resilience:
It now does a transaction per undeleted Flow revision. It would be better to do it per overall undeletion operation. However, the page ID is passed to ArticleRevisionUndeleted, and it can vary by archived revision.