Handle some extra cases in triggerJobs()
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 28 Feb 2014 05:35:30 +0000 (21:35 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 28 Feb 2014 05:52:13 +0000 (05:52 +0000)
commit1ec4e48b834aeaf473ef21cee57f0a6efb2ed9dc
treedd1348258d6d4b0dd662db2526e98be36613df7c
parent282f81e4242556b8e369f98586d8201f36ab4d9c
Handle some extra cases in triggerJobs()

* $wgEnableAPI may be false, though it is a basic part of MediaWiki.
  This only disables api.php and not internal callers so just do that.
* Various socket functions may disabled. Though this is a terrible
  wack-a-mole security measure to handle MediaWiki exploits or
  non-authenticated services, it may still be in use, so work
  around it.

Change-Id: I54a209e003ffce1fe36a5898fe0da735cf5e32e4
includes/Wiki.php