Commit graph

11 commits

Author SHA1 Message Date
Jack Phoenix 9e6312ce6d Load AJAXPoll assets for MobileFrontend so that MF users can also vote in polls (if the wiki is configured so) + polls will look nicer
Tested with MediaWiki 1.31.0 + REL1_31 versions of MobileFrontend & MinervaNeue.

Bug: T133940
Change-Id: If0bf8378bd09364111c969d16075ab0cd958cbcd
2018-07-14 17:12:13 +03: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
Paladox 19b11b54d5 Move AjaxExportList to callback
Change-Id: I7f44b3ea0d5460cecfa358fe0a7f437f5d800b8b
2018-05-10 17:50:17 +00:00
Legoktm eba1049be2 Revert "Move wgAjaxExportList out side of config: {}"
Will not work, AjaxExportList is not supported by extension.json. The status quo of the extension should work as long as it is not co-installed with another extension that is abusing "config".

This reverts commit d877780a9f.

Change-Id: Ief1f9db13cc1d34fa58463fb9e379f3b44bf6c8e
2018-05-10 14:50:31 +00:00
Paladox d877780a9f Move wgAjaxExportList out side of config: {}
Bug: T194319
Change-Id: Ibc3a2594a918dce1f02591981bddcbfe6474498d
2018-05-09 23:01:40 +00:00
SamanthaNguyen 5e51a1e485 Replace deprecated bot permission check
Change-Id: I61905947f63bdfe1b73289105fb6bfa65e7f4683
2017-09-16 14:42:03 -05:00
SamanthaNguyen 4c4348557c Reorganize directory structure + file renaming
Bug: T160849
Change-Id: I4c7ec4d2c5e1dfcc65c4236c8b5d625c6e0e0f12
2017-07-13 15:25:45 +00:00
Umherirrender be80fea097 Move TrackingCategories to top level in extension.json
It is part of extension.schema and should not under "config" key

Change-Id: I78594482b805f12b32fa868ff3eb73278e1fce3d
2017-02-05 21:15:54 +01:00
codynguyen1116 0e78c328f1 v 1.88.2 - Remove deprecated PHP entry point
Change-Id: I4292dcb8489adabd072df02e55e0bfab74a633dd
2017-01-26 18:19:21 -06:00
codynguyen1116 4152936362 Clean up CSS for AJAXPoll
- Removing -moz-border-radius since it's unnecessary
- Lowercasing color values
- Removing unnecessary unit for 0 value

Bug: T154049
Change-Id: I210ba9c971f18ce2b62fb2fe845cd90cca2901d5
2016-12-23 21:56:36 +00:00
Lewis Cawte 9b2d7168f9 Convert to extension registration
Change-Id: I3330d28cee9f9c0075672b48dd8fa63a2a799c4c
2015-05-31 23:24:00 +01:00