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
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
- Removing -moz-border-radius since it's unnecessary
- Lowercasing color values
- Removing unnecessary unit for 0 value
Bug: T154049
Change-Id: I210ba9c971f18ce2b62fb2fe845cd90cca2901d5
s/four spaces/one tab/ and s/double quotes/single quotes/ + some
MediaWiki-esque spacing tweaks
Should pass JSHint checks now that double quotes are gone
Change-Id: Ifdf07faf8f1c2e817ce515a4ffed3e7c9699d1af
replaced .live() calls with .on()
wrapped all handlers in a function so they can be reapplied after the page is updated via the ajax call.
replaced sajax_do_call() that was generating a bunch of deprecation errors. I replaced it with the method outlined here:
https://www.mediawiki.org/wiki/ResourceLoader/Legacy_JavaScript
Bug: T86573
Change-Id: I44538be1a8e42bd53a2107e3724686ae184599e3
jQuery's .live was deprecated in jQuery 1.7 and removed in 1.9, so don't
use it here as it'll just generate TypeErrors under MediaWiki 1.24.
Change-Id: I703ea427e00fdea957788c8d29892ebb6fe3fffa