Commit graph

5560 commits

Author SHA1 Message Date
Esanders ca5e5c85af Revert "Style improvements to Echo OOUI dialog in desktop Minerva"
This reverts commit 5b628b5109.

Bug: T241090
Bug: T242493
Change-Id: Id4a7ac9748ed7f934e9c47f4ade0c2f87da4488d
2020-02-10 20:24:17 +00:00
jenkins-bot 8646dbe7f5 Merge "Enable MediaWiki.Usage.ForbiddenFunctions.isset and make pass" 2020-02-10 09:16:16 +00:00
Translation updater bot 032250a597 Localisation updates from https://translatewiki.net.
Change-Id: I60520bc6f805a005e5ef12d56e1b7f77e95b1a54
2020-02-10 08:33:40 +01:00
Umherirrender af3fa8a78b Enable MediaWiki.Usage.ForbiddenFunctions.isset and make pass
Change-Id: I4fe47b3cc4ecd124809a58306b6abb0ea202d56a
2020-02-09 11:58:49 +01:00
Translation updater bot a85345b616 Localisation updates from https://translatewiki.net.
Change-Id: I1d07fd97075733d66b48fc3ae9c830095a5d6441
2020-02-07 09:57:19 +01:00
Translation updater bot 9ea6251a51 Localisation updates from https://translatewiki.net.
Change-Id: I1a74730b0cd199d5285bbd8db8d33440f343f362
2020-02-06 08:19:18 +01:00
Translation updater bot a6d45c83f6 Localisation updates from https://translatewiki.net.
Change-Id: If2ee093f5e4b3861767b822c3f09b33383bde36f
2020-02-05 08:18:51 +01:00
Translation updater bot 24d81af373 Localisation updates from https://translatewiki.net.
Change-Id: I00bbe33faee1590d5c06393dcfb6f3c7d10b7328
2020-02-04 08:33:20 +01:00
Translation updater bot 75a3e91a4e Localisation updates from https://translatewiki.net.
Change-Id: I3777b080a416a401068d6338990766f918f6b265
2020-02-03 08:26:44 +01:00
Translation updater bot 92ac959332 Localisation updates from https://translatewiki.net.
Change-Id: Ib7ca9fd651edd8ad2f990a40c63d92b0cc64731f
2020-01-31 09:53:09 +01:00
Translation updater bot fd3efdffde Localisation updates from https://translatewiki.net.
Change-Id: I21faa27c53206d337cef872628b654cc0a42cb44
2020-01-29 08:18:21 +01:00
libraryupgrader 164e7dfb77 build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: Ie9c9278df59399ec9c6803d6e6663ab226e503aa
2020-01-28 10:14:18 +00:00
jenkins-bot 056587749b Merge "Remove hack for PHPUnit's Stub interface" 2020-01-23 15:52:36 +00:00
Daimona Eaytoy c256faf968 Remove hack for PHPUnit's Stub interface
This partly reverts commit c19c88567b.

Bug: T192167
Depends-On: Ia12658554c94497a204b7f65f1a6f7b1fa0310ac
Change-Id: I4ef736d87d05f74920ce88f57b0ad824986adb26
2020-01-23 12:34:48 +00:00
Translation updater bot c777a151b2 Localisation updates from https://translatewiki.net.
Change-Id: Iba44286f7b8e8ae0c90c04c540aabf3e8bdba0a2
2020-01-23 08:34:51 +01:00
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