Commit graph

5395 commits

Author SHA1 Message Date
Translation updater bot 705313d9f1 Localisation updates from https://translatewiki.net.
Change-Id: I0209575ddba9057197d17fc379793a3a72f7159f
2020-01-22 08:29:53 +01:00
Translation updater bot 3502abd3ac Localisation updates from https://translatewiki.net.
Change-Id: I88a394cffc59afa52c702a2c40732301f88b2760
2020-01-21 08:16:06 +01:00
Translation updater bot 22d3190b0e Localisation updates from https://translatewiki.net.
Change-Id: I6ec504b7234bcd09744cd83d4a0ffe713748ed1d
2020-01-20 08:49:01 +01:00
Roan Kattouw 0ff7678377 Document ext.echo.unseen counters
There are two counters (ext.echo.unseen and ext.echo.unseen.click) that
are incremented in two different places. It's hard to see how they're
connected unless you know where to look.

Add comments to each of these counters pointing to the other one and
explaining what they're for.

Change-Id: I0699cba85bf797e4f7ef42cc6a7a996aa35510f0
2020-01-16 17:46:08 -08:00
Translation updater bot 1eb3198172 Localisation updates from https://translatewiki.net.
Change-Id: I29f823828d80c49aeae920315915565ac8f3e32f
2020-01-16 09:29:32 +01:00
Daimona Eaytoy 07ff3debe5 Stop using PHPUnit deprecated methods
Change-Id: I77eefbd6f8b76620257c68be1c299868b5f5ff88
2020-01-14 15:59:46 +00:00
jenkins-bot 5fcc43d615 Merge "build: Updating mediawiki/mediawiki-codesniffer to 29.0.0" 2020-01-14 15:52:16 +00:00
jenkins-bot 3ef6bef646 Merge "Localisation updates from https://translatewiki.net." 2020-01-14 10:07:49 +00:00
jenkins-bot d57df3f5a1 Merge "Use GET rather than POST for action=markseen" 2020-01-14 09:58:58 +00:00
Translation updater bot 3a799c7c01 Localisation updates from https://translatewiki.net.
Change-Id: Ibe4108c8db70ed04f282cbe2fc676254de8ed80b
2020-01-14 10:58:58 +01:00
libraryupgrader ff43e1ecf2 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Usage.ForbiddenFunctions.isset
* MediaWiki.Usage.PHPUnitDeprecatedMethods.AssertInternalTypeGeneric

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I29416247ff3736799543926813beaf4afd569a6e
2020-01-14 05:09:44 +00:00
jenkins-bot cd286267e8 Merge "Remove unused index echo_notification_user_hash_timestamp also from the canonical SQL file" 2020-01-13 21:07:49 +00:00
Translation updater bot cefda97b4d Localisation updates from https://translatewiki.net.
Change-Id: Ia7b11080460d6d370e78ea28d7aac52e104e01a8
2020-01-13 09:10:21 +01:00
Roan Kattouw b2f816d0af Use GET rather than POST for action=markseen
This seems strange, because markseen sounds like a write action, but it
writes to the seentime cache rather than the database. For multi-DC
support, we need writes to the seentime cache to happen in the local
data center, and the easiest way to do that is to make it a GET request
rather than a POST request.

It would be nice if marking as seen could be consolidated into the GET
request for fetching notifications, but I didn't do that because the
code for those fetches is pretty complicated, and some fetches (like
polling) should not mark as seen.

Bug: T222851
Change-Id: If4c504a9dc562b1d4e626e155fba8ebb5cdb0579
2020-01-10 16:12:18 -08:00
Jack Phoenix a628ef641e Remove unused index echo_notification_user_hash_timestamp also from the canonical SQL file
Change-Id: I53f895ef4ff77c3e77b4a6cbe9ee810a704d5444
Follow-up: 91465ef753
2020-01-10 21:04:03 +02:00
Translation updater bot bf4d612eca Localisation updates from https://translatewiki.net.
Change-Id: I0f2c776fed27d822076cf77da08ec7109d7b0bb3
2020-01-10 08:34:19 +01:00
Translation updater bot 971d7b3891 Localisation updates from https://translatewiki.net.
Change-Id: I3c535d6002fc86fe3589e53a79484ec0a40dbc15
2020-01-09 08:28:54 +01:00
jenkins-bot 8f5fc3d6ee Merge "Set apihelp message for wikis parameter of echomarkread" 2020-01-08 09:09:51 +00:00
Roan Kattouw e771f57af8 Hide "system" categories in notification preferences
Make sure that the system-noemail and system-emailonly categories are
hidden, the way the system category is, by setting their no-dismiss
setting to "all". This should be unnecessary, because e.g.
system-noemail doesn't allow email, so just setting no-dismiss to "web"
should suffice, but
EchoAttributeManager::isCategoryDisplayedInPreferences() isn't smart
enough to see that. Doing it this way is also more future-proof for if
we ever add more notification methods in addition to web and email.

Change-Id: I00641d43a4eb1d3e2d3ea285682cf900733b1855
2020-01-06 10:59:51 -08:00
Translation updater bot 6653a20811 Localisation updates from https://translatewiki.net.
Change-Id: I7c579a9c71afd70098ea2f8eccf05b84c5c15893
2020-01-06 08:48:55 +01:00
jenkins-bot 1f96009221 Merge "Use document.body instead of 'body' as jQuery selector" 2020-01-05 23:33:24 +00:00
Matěj Suchánek e16ff3a939 Remove dead code from EchoHooks.php
Change-Id: Ie1ff4977a61b9c0350b2c8891ce26b6fa8cf49e5
2020-01-05 14:38:26 +00:00
Translation updater bot 3ab81adff5 Localisation updates from https://translatewiki.net.
Change-Id: I1a59c6335a43cf11b48bdc9c59a824c228d5846b
2020-01-03 08:45:27 +01:00
Matěj Suchánek d4a18d15b7 Remove redundant check in MentionPresentationModel.php
Pages in user talk namespace are always talk pages, so
no need to check for this.

Change-Id: Ideac85cfaddb65f4758fe00be028dd6d067e0d72
2020-01-02 15:42:23 +00:00
Matěj Suchánek 2d6472ff61 Remove unused variable
Change-Id: I43b83972fe818f236c10522bdaaecbb2def88903
2020-01-02 10:49:35 +01:00
jenkins-bot 30ed6adb92 Merge "build: Updating mediawiki/mediawiki-phan-config to 0.9.0" 2020-01-02 08:59:53 +00:00
Translation updater bot 25d0e85c8a Localisation updates from https://translatewiki.net.
Change-Id: I6dea07592108a0e6cc61ad1fd48323bd1f92a884
2020-01-02 08:58:16 +01:00
jenkins-bot aa0ee66966 Merge "Move test-only classes to new TestAutoloadClasses declaration" 2020-01-01 23:25:26 +00:00
jenkins-bot e003778095 Merge "Removed comment out debug code from EchoDiscussionParser" 2020-01-01 22:46:59 +00:00
Umherirrender c25962ce47 Move test-only classes to new TestAutoloadClasses declaration
Bug: T196090
Change-Id: I1348c07c688cce6e9cd65669c824561bac1a1eff
2019-12-31 00:23:54 +01:00
Translation updater bot 0369c3999d Localisation updates from https://translatewiki.net.
Change-Id: I753f93213a3770686e1ec167f8bf72026919a226
2019-12-29 20:40:29 +01:00
Umherirrender 317246762c Removed comment out debug code from EchoDiscussionParser
Change-Id: I0f5823253e7dbad6aabcc85f3f1e0c2196874f66
2019-12-29 16:08:15 +01:00
libraryupgrader ef3d2b886d build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: I03333636654eff80d4fe7fa543ac9e6c321af891
2019-12-29 11:59:32 +00:00
Thiemo Kreuz (WMDE) 65700e6c0e Revert "Make method parseNonEditWikitext public"
This reverts commit b4fdb685cb.

Change-Id: I33abe899f34903cfcc24c7a4f45e70aaab3f0abb
2019-12-28 20:16:38 +00:00
Paladox b4fdb685cb Make method parseNonEditWikitext public
It's used by the Comments extension.

Change-Id: If69b1706067a0c80420e427a453da965f226aa75
2019-12-23 01:54:53 +00:00
Translation updater bot 72fd486374 Localisation updates from https://translatewiki.net.
Change-Id: Ibe48f2a33075a462aacd99079b1506d584cfaeef
2019-12-22 17:40:42 +01:00
jenkins-bot f6df96a8e5 Merge "Style improvements to Echo OOUI dialog in desktop Minerva" 2019-12-20 22:41:27 +00:00
jdlrobson 5b628b5109 Style improvements to Echo OOUI dialog in desktop Minerva
* Make sure the badge for desktop when initialised points to the
right thing
* Make sure the dialog takes up the full screen and the Clippable bug
does not interfere with the display of the pane

Bug: T241090
Change-Id: I6c5588ee689633cef413ef27449aeeea341d7a97
2019-12-20 20:38:36 +00:00
Translation updater bot b1c36dcf05 Localisation updates from https://translatewiki.net.
Change-Id: If601cb67dd171458cc9a923fdeedd56934abbb3e
2019-12-18 09:25:16 +01:00
Translation updater bot af011120c2 Localisation updates from https://translatewiki.net.
Change-Id: Ib26402079392ce36cb6476259c9397f06acea6b2
2019-12-17 10:07:31 +01:00
libraryupgrader a54887eb0f build: Updating mediawiki/minus-x to 0.3.2
Change-Id: I3f1b4eb10173cb4df111f9ca630152bdcafdd935
2019-12-16 21:15:12 +00:00
jenkins-bot 24dd8dce66 Merge "Document message "echo-blacklist"" 2019-12-16 11:36:08 +00:00
Translation updater bot a5a5224e49 Localisation updates from https://translatewiki.net.
Change-Id: I035783a03f121182ceb69e98e60f331c95bb5bc8
2019-12-16 12:13:14 +01:00
Fomafix 99dc512ef8 Use document.body instead of 'body' as jQuery selector
Also use the shorter .appendTo() instead of .append().

Change-Id: I1e0aaff4790a6ca5c9e5d2f6e5926e15f8574cee
2019-12-16 11:51:03 +01:00
Umherirrender 4c991af59f Use WebRequest::getInt for limit parameter
This avoids that the default value is casted to string
and than back to int

Change-Id: I66ef8bc3a8e89b43aa5eff79bc371659e86af174
2019-12-13 22:29:07 +01:00
Raymond a22a916e14 Document message "echo-blacklist"
This way it shows up on [[Special:AllMessages]]

Change-Id: I19ae033b8972029d32018a55e0724a1afbd8e61c
2019-12-13 17:28:38 +01:00
Jon Harald Søby 72963d4167 Add PLURAL to new messages
These new messages should have {{PLURAL}} in the English original
even though the number will be larger than 1. For other languages (like
Russian) the plurals work differently, so having the {{PLURAL}} in the English
message even though it won't have any effect there works as a guide to
the translators (just like the {{GENDER}} does).

Change-Id: I925818bbf3da95e2ffdb629f448f54911752e346
2019-12-13 13:01:59 +01:00
Translation updater bot d834e9fb86 Localisation updates from https://translatewiki.net.
Change-Id: I5deb6a653bae5b5d19966618053f10a0897b568b
2019-12-13 09:28:15 +01:00
jenkins-bot 19d88be6cf Merge "build: Update linters" 2019-12-12 17:52:35 +00:00
Ed Sanders 80ddee3956 build: Update linters
Change-Id: I713aafb891306fc21a776a7d4622c6a039798753
2019-12-12 11:20:49 +00:00