Revision::newFromArchiveRow took 'page' as an override for ar_page_id,
while RevisionStore::newRevisionFromArchiveRow() needs 'page_id'.
Thanks to sanity checks elsewhere in RevisionStore, this mistaken
override causes an exception to be thrown rather than undeleted
revisions potentially pointing to the wrong page.
Bug: T200072
Change-Id: I9d7543866c674f4d8aea9ec00fcc15cbf616ca66
0,
$this->title,
[
- 'page' => $pageId,
+ 'page_id' => $pageId,
'deleted' => $unsuppress ? 0 : $row->ar_deleted
]
);