Catch errors in more cases inside MediaWiki::triggerJobs()
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 27 Mar 2017 20:26:13 +0000 (13:26 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 27 Mar 2017 21:10:22 +0000 (14:10 -0700)
commitcb84ec7f4a6b0effdc04d4f9fddeccaf2b3c3a13
tree0ffe63ccc7579d022542b1cb7c0a1c700f0cfcff
parent787fd04549592c05667b0c733cd963333d6c0920
Catch errors in more cases inside MediaWiki::triggerJobs()

This catches things like "DB is read-only" when doing pop()/ack() from the
job table with sqlite.

Also spun off some code to new trigger*Jobs() methods for readability.

Bug: T88312
Change-Id: I2a09248e40867684d48e6739da5e4a90581fa6ce
includes/MediaWiki.php