Page MenuHomePhabricator

Hard deprecate PageArchive::getPreviousRevision
Closed, ResolvedPublic

Description

Returns Revision objects

Replace uses with getPreviousRevisionRecord

Event Timeline

DannyS712 triaged this task as Medium priority.May 4 2020, 5:21 AM
DannyS712 created this task.
DannyS712 moved this task from Unsorted to In progress on the User-DannyS712 board.

Change 593975 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Video@master] Remove use of PageArchive::getPreviousRevision

https://gerrit.wikimedia.org/r/593975

Change 593975 merged by jenkins-bot:
[mediawiki/extensions/Video@master] Remove use of PageArchive::getPreviousRevision

https://gerrit.wikimedia.org/r/593975

Change 594215 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Hard deprecate PageArchive::getPreviousRevision

https://gerrit.wikimedia.org/r/594215

Change 594215 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Hard deprecate PageArchive::getPreviousRevision

https://gerrit.wikimedia.org/r/594215

That was pretty easy to replace the uses. Codesearch[1] shows no remaining calls

[1] https://codesearch.wmflabs.org/deployed/?q=-%3EgetPreviousRevision%5C(&i=nope&files=&repos=

Change 594215 merged by jenkins-bot:
[mediawiki/core@master] Hard deprecate PageArchive::getPreviousRevision

https://gerrit.wikimedia.org/r/594215

DannyS712 closed this task as Resolved.May 7 2020, 4:08 PM