AJAXPoll used to throw random DB errors when the DB is in readonly
mode, that should be fixed now. Also fixed a few minor bugs
encountered on the way.
Bug: T205219
Change-Id: I079b2876e01ab8e9916fcc8121d7f4c9a23f00a8
This avoids notices like "Implicit transaction already active" and
"Explicit commit of implicit transaction" in the DBQuery log.
Bug: T198023
Change-Id: I8a91ac9f3bbb8d8042bc5f91cd5c44b3e8c92942
MW 1.30.0+ is now explicitly required; as such, dropped pre-1.17 support
from AJAXPoll#onLoadExtensionSchemaUpdates.
Also "fixed" T163625 by changing an INSERT INTO query into INSERT IGNORE
INTO, swapped some "double quotes" to 'single quotes', refactored some
stuff, etc.
Bug: T163625
Change-Id: Ifbabf3bf5da25c602fe5873539520c517573890c
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
Change-Id: I5aae60568b7c9a59fabdfbdc1a262beec4a59a5c