Commit graph

7 commits

Author SHA1 Message Date
Yuki Shira 8de5aa2f02 i18n: action/right messages consistency
Start action/right messages with a verb root for consistency

Change-Id: I78641f6d9716207bfb16f7e68e3f7feb220a1ca5
2022-05-22 16:47:34 +09:00
Ostrzyciel 949d97cdb6 Fix errors when using the DB readonly mode
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
2020-01-29 10:57:08 +01: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
Siebrand Mazeland ae00a96d25 Update identation to use tabs
Change-Id: Ieb4f4b42ca49e6eee6c7cabea29a953187920e09
2015-10-12 08:47:44 +02:00
Siebrand Mazeland 47b56dd855 Split time and date
Per
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Ajaxpoll-your-vote/en

Change-Id: If393af3cbed3514f973b16b05635c4860fb52d25
2014-12-28 20:23:39 +01:00
PiRSquared17 673f0d7bab Follow-up I7d4bb9062. Register tracking category used.
This allows ajaxpoll-tracking-category to appear in the newly added [[Special:TrackingCategories]].

Bug: 63283
Change-Id: I36cfa25afc8463c07b40d76ae7fe110288e1ecc3
2014-04-01 01:42:44 +00:00
Siebrand Mazeland 82bbec257f Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I82fbdd86a86feb717443d4133200ab0d4e7b859f
2014-03-31 08:21:41 +02:00