Made triggerOpportunisticLinksUpdate() jobs make use of parser cache
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 9 May 2015 05:20:25 +0000 (22:20 -0700)
committerGilles Dubuc <gdubuc@wikimedia.org>
Mon, 11 May 2015 20:26:44 +0000 (22:26 +0200)
commit187fd647232a1887c202d3624a5b8e7c7f674093
tree416c7c259011bfe499379b9dd2ec4c6189a92f76
parent04af4fb8e7fcacd0e8556afffa6e5c4e3b3c6792
Made triggerOpportunisticLinksUpdate() jobs make use of parser cache

* On Wikipedia, for example, these jobs are good percent of
  all refreshLinks jobs; skipping the parse step should avoid
  runner CPU overhead
* Also fixed bad TS_MW/TS_UNIX comparison
* Moved the fudge factor to a constant and raised it a bit

Bug: T98621
Change-Id: Id6d64972739df4b26847e4374f30ddcc7f93b54a
includes/jobqueue/jobs/RefreshLinksJob.php
includes/page/WikiPage.php