Misc fixes for file patrol
authorcenarium <cenarium.sysop@gmail.com>
Wed, 13 Jan 2016 13:25:03 +0000 (14:25 +0100)
committercenarium <cenarium.sysop@gmail.com>
Wed, 20 Jan 2016 18:59:26 +0000 (19:59 +0100)
commitb06bd0511bc977919622313edf244ef3879d6906
tree5583a0ec3fe8f1dad8979df9273736bd56df07e0
parente2622574a2929ac8a2d50014e951dc93f88e076d
Misc fixes for file patrol

This makes the following (minor) fixes to file patrol:
- If a documentation page for a file was recently created
before the file itself was uploaded, and the page creation
was patrolled, this now allows to patrol the file upload
from the file documentation footer.
- It attempts to retrieve a recent change for the latest
file upload, even if patrolled, so that this info can
be cached.
- It makes some extra code comments.

Change-Id: Ibdebcbbee7c081b99372c44ca64b5ddd86ae5ace
includes/page/Article.php