Emits deprecation warnings since 1.42 (30795cda4f59)
Not replacing with IConnectionProvider for compatibility (needs 1.40)
Change-Id: I253e0c373a2e0d45bbd25b1b6b816ac9d63c9077
This reverts commit bab4d43206.
Reason for revert: breaks stated, advertised LTS compatibility that end-users expect (see https://www.mediawiki.org/wiki/Social_tools/MediaWiki_compatibility) (well, technically AJAXPoll isn't really a social tool per se, but some listings include it anyway, so...)
Change-Id: Ib0c4bde7040cdbb893acb200aa053fb1280078ff
MediaWiki has never used this path for running the maintenance
scripts, only the class name provided in the other parameter.
Providing the parameter is no longer needed in MediaWiki 1.43.
Also, remove outdated pitfall warning, it was fixed by marking
the method as protected in MediaWiki 1.35 (Ie73e6143bb).
Bug: T367918
Change-Id: I1818cf882e820bca9d7ec22b9bd30a86b81970f5
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