Reduce problems caused by $wgRunJobsAsync
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 23 Aug 2016 06:04:36 +0000 (23:04 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 23 Aug 2016 06:26:50 +0000 (23:26 -0700)
commit6a9e507dc515c6116e691afc2148642bc5421b34
treee4af74a49c0b909041432e6444946560b931b500
parent21abf22680a2e46aee9fe440e48c1fa09321e0ba
Reduce problems caused by $wgRunJobsAsync

* Use getCanonicalURL() to avoid links with the wrong host (e.g.
  when it is virtual) and to avoid getting redirects.
* Also disable this setting when post-send execution is already
  available, by default.
* Bump the socket timeout slightly.

Bug: T107290
Bug: T68485
Change-Id: I56c43193fa6583cc0c8209ff59cf20c986a799a3
includes/DefaultSettings.php
includes/MediaWiki.php
includes/specials/SpecialRunJobs.php