Added JobQueueGroup::lazyPush method
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 15 May 2015 23:23:51 +0000 (16:23 -0700)
committerOri.livneh <ori@wikimedia.org>
Mon, 18 May 2015 16:26:59 +0000 (16:26 +0000)
commit7e97ce6a4402edae8bd626a9a6aa39060095aa42
treecf2e1c984ebb06526d3425210f35dca19a9d0d5b
parentbc9100fb3ca1128da415201528d0f19d20645916
Added JobQueueGroup::lazyPush method

* Made use of this in triggerOpportunisticLinksUpdate()
* This will defer and better batch job insertion
* Lazy job insertion and other deferred updates
  make use of register_postsend_function if present
* Also cleaned up some return types and exceptions
  in JobQueueGroup

Bug: T99302
Change-Id: I3a3968d75cb37563f970be08e63f31a090e0e037
includes/MediaWiki.php
includes/jobqueue/JobQueueGroup.php
includes/page/WikiPage.php