Accessor to get EditPage parent revision ID
authorAdam Roses Wight <awight@wikimedia.org>
Sun, 5 Apr 2015 06:53:50 +0000 (23:53 -0700)
committerAdam Roses Wight <awight@wikimedia.org>
Tue, 24 Nov 2015 21:49:33 +0000 (13:49 -0800)
commitdd230364d6456a1893b6abcd93049a46269a7239
treec0d014fe80df9b822dc9dc50f588ef3e03d6d7d1
parent61233fc84724833dc487ecc55e27c1b39459befc
Accessor to get EditPage parent revision ID

Take from either the request parameter, calculated value, or the actual
revision ID of the fetched page content.

This will be used in more places, once we replace time-based conflict
detection with revision-based detection.

Bug: T58849
Change-Id: I29dcb4694cd9fee4622663b4d9787e975cb415ec
includes/EditPage.php