Commit graph

2 commits

Author SHA1 Message Date
Jack Phoenix b08fe9b870 Remove use of global $wgUser
Bug: T243568
Change-Id: Ib0749163e304f19f4067b8c4f997688be4d4b268
2020-02-08 15:51:46 +02:00
Jack Phoenix 0469665d77 Version 2.0: somewhat more properly convert the AJAX function into an API module to ensure continued post-1.30 compatibility
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
2018-05-12 15:50:02 +03:00