Add File::getDescriptionTouched() method
authorGergő Tisza <tgr.huwiki@gmail.com>
Thu, 5 Feb 2015 03:43:22 +0000 (03:43 +0000)
committerGergő Tisza <tgr.huwiki@gmail.com>
Sat, 14 Feb 2015 00:49:26 +0000 (00:49 +0000)
commitbf40d6267cca491fd4d575af4ec4b1db455840ff
tree4100fea3ad0279516ae56f64d84c0d784ea72155
parent62e8e5dfce145ad972c5c277b6be1f4e6af42bb0
Add File::getDescriptionTouched() method

Fetch page_touched timestamp of file description page via a DB query
(possibly to a foreign DB).

Not sure about the performance implications; could add a memcached
layer on top, but the same DB lookup was already done for local
files.

Bug: T88648
Change-Id: I891c806aab235ff2c0e73c98b06b64fbe78e1517
includes/filerepo/file/File.php
includes/filerepo/file/LocalFile.php