ApiComparePages: Don't error with no prev/next rev
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 22 Oct 2018 16:13:01 +0000 (12:13 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 22 Oct 2018 17:47:43 +0000 (13:47 -0400)
Prior to I700edfa76, torelative=prev on the first revision of a page
would "diff" from an empty revision, and torelative=next on the latest
revision would diff to that same latest revision. People were depending
on that behavior, so restore it.

Bug: T203433
Change-Id: Ie81b58c196998a8047322740fe1d1fa44eff8526


No differences found