Commit graph

19 commits

Author SHA1 Message Date
Jack Phoenix de1fa0ef27 Revert "LoadExtensionSchemaUpdates: Remove unused path from 'runMaintenance' action"
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
2024-07-10 07:40:34 +00:00
Bartosz Dziewoński bab4d43206 LoadExtensionSchemaUpdates: Remove unused path from 'runMaintenance' action
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
2024-06-19 19:58:22 +02:00
Alexander Vorwerk e37a2fd2be Use DB_PRIMARY instead of deprecated DB_MASTER
Raise support floor to 1.35.3 for this.

Change-Id: Ieb1651d5934772fd207d42f70167cd993af0a54b
2021-09-18 14:40:40 +02:00
zoranzoki21 4e4a2c36f2 Fix MediaWiki.Files.ClassMatchesFilename.NotMatch
Change-Id: Ib9779e15ade2832b57bcd96112daa7a70a31482c
2020-09-10 19:30:46 +02:00
Kunal Mehta 94d66d912c Migrate extension.json to manifest_version 2
Change-Id: I09bacf48b0a316f420e49089554bec859b4e5702
2020-07-20 14:07:04 -07:00
Ostrzyciel 5177fd7ace Fix actor migration script
Current version does not consider anonymous votes at all, which
caused the script to fail horribly on wikis that allowed anons
to vote.

Change-Id: Ic2a42a581d3495150f89a66a58276aa004bd22e8
2020-02-25 18:18:11 +01:00
Jack Phoenix 125e943aa2 Actor support, now requires MW 1.34(+)
Bug: T227345
Change-Id: I6b3cefb37efe770f7dcb7f7c093bf71e1e8bb543
2020-01-14 16:32:56 +02:00
Nikita Rana e77bcb750d Add license information
Add COPYING file and include license-name in extension.json

Bug: T123943
Change-Id: I32eda3f21912da45e93964cc5422f8a86c28f26c
2019-03-22 16:39:47 +05:30
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