Fix timestamp check in ApiStashEdit::checkCache
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 27 Apr 2016 22:43:38 +0000 (15:43 -0700)
committerOri.livneh <ori@wikimedia.org>
Thu, 28 Apr 2016 22:01:03 +0000 (22:01 +0000)
commitaf349f79c8638927193f6bf52a101251e9eddbc3
tree5739ab056b9815b2edc56bdda3aca1ffe12877e6
parent88b663cf79cdc816ffe15b540248f60284079e0d
Fix timestamp check in ApiStashEdit::checkCache

* The wrong time method was used, and it also was not set.
* Bumped the threshold a bit while at it, which was basically
  0-5 minutes before.

Bug: T133332
Change-Id: Ide3e66f551aa6e50410c562e5c917141d59b7f64
includes/api/ApiStashEdit.php
includes/page/WikiPage.php
includes/parser/ParserCache.php
includes/parser/ParserOutput.php