Show the revision ID on error message when content is missing on difference page
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 25 Jul 2013 15:34:20 +0000 (17:34 +0200)
committerIAlex <codereview@emsenhuber.ch>
Tue, 17 Sep 2013 06:52:14 +0000 (06:52 +0000)
commitea8ac38e45307d667b8243f68772394889d1d8b0
tree908e180c2bd2138230062fe0839a46cb10987045
parente7ce589265c7500759735d9e5c8ecbd008073fc9
Show the revision ID on error message when content is missing on difference page

Currently if the revision exists but its content is not found, it will make
loadText() return false; which in turn will make a call to showMissingRevision()
from showDiff(). However since the revision exists; it will not match the
condition in showMissingRevision() and thus an error message will appear without
any revision ID.

Change-Id: Idd8a5f20a3c082a3b02bd77557e0f4dc4c66e876
includes/diff/DifferenceEngine.php