Tim Starling
41d53fde50
Don't put a whole User object in extra[mentioned-users]
...
DiscussionParser::getUserMentions() returns mentions in an array of the
form [ID => ID]. UserLocator says "we shouldn't receive User instances,
but allow it for backward compatability". But
DiscussionParser::generateEventsForRevision() was putting User objects
into the extra when there is a mention in the edit summary.
I noticed this when I accidentally made User objects be unserializable
in a core patch.
So, I made generateEventsForRevision() generate mention arrays in the
same ID=>ID format as getUserMentions().
Change-Id: I7c6d25950c8887b50426863c7b0a2d5d007559dd
2020-05-05 14:41:49 +10:00
Translation updater bot
4b6c8fe025
Localisation updates from https://translatewiki.net .
...
Change-Id: I95a52d5d12c8bbf54c921c7f6eca2f15db48f4db
2020-05-01 10:00:41 +02:00
jenkins-bot
a0f1ffa02c
Merge "Move one class to AutoloadNamespaces"
2020-04-30 18:23:30 +00:00
Translation updater bot
304e0273a4
Localisation updates from https://translatewiki.net .
...
Change-Id: I7d9d9714cbeb5be3f3b5c14898031c68e87b0fc8
2020-04-30 08:37:46 +02:00
Translation updater bot
13a0622468
Localisation updates from https://translatewiki.net .
...
Change-Id: I975609883f2bcd9877ea25d63ffbf902b5d092cd
2020-04-29 08:35:47 +02:00
Translation updater bot
617da122e0
Localisation updates from https://translatewiki.net .
...
Change-Id: I70f89679970ec06b2e7aafaf4febe1a416fae4ed
2020-04-28 08:31:58 +02:00
jenkins-bot
426d33054b
Merge "Use '.text-overflow()' mixin from 'mediawiki.mixins'"
2020-04-27 23:26:57 +00:00
Translation updater bot
4a1f9b5ff0
Localisation updates from https://translatewiki.net .
...
Change-Id: I743e3c88d9b70fb53a058051a771a89f5304f6a3
2020-04-27 09:02:45 +02:00
Translation updater bot
39d7aa6b1c
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b560ff837b5ac7fa6453b246023972b1949c553
2020-04-24 08:22:23 +02:00
Volker E
9ee48977f1
Use '.text-overflow()' mixin from 'mediawiki.mixins'
...
And remove Echo's own mixin.
Depends-On: Ia8d6e7229b49598b0f4cb19dff463ffe2f11a43d
Change-Id: I68d5726f01484ef5b94a606de9669207944dff54
2020-04-23 18:16:01 -07:00
Translation updater bot
c2c9846c33
Localisation updates from https://translatewiki.net .
...
Change-Id: I810646b307d3d80f3402ceb2a59df884b0b1156d
2020-04-23 08:42:57 +02:00
libraryupgrader
df46509e1e
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
The following rules are failing and were disabled:
* mediawiki/class-doc
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1
Change-Id: I6e55d7979dbf50f7919c62621957b765a40f4624
2020-04-22 08:44:15 +00:00
Translation updater bot
7ca12c2dcb
Localisation updates from https://translatewiki.net .
...
Change-Id: If1792b34ddffb1982c31ac0841322e499ac1bcaa
2020-04-22 08:56:04 +02:00
Edward Chernenko
87053b91a6
Be compatible with third-party extensions that use NewMessagesAlert
...
1. Preamble:
Currently Extension:Echo unconditionally suppresses NewMessagesAlert,
because "You have new messages" is replaced by Echo notification.
2. Problem:
Some third-party extensions (such as Extension:Moderation) can use
GetNewMessagesAlert hook to inject their own notification, which must
not be suppressed.
By returning "false" from GetNewMessagesAlert hook, Echo stops those
third-party extensions from showing their notifications too.
3. Solution:
Allow those third-party extension to tell Echo "don't suppress this"
by returning false from the hook EchoCanAbortNewMessagesAlert.
This change has no impact on situations when no such third-party
extensions are installed.
4. How it was handled before this change:
Old solution for those extensions was to remove the hook of Echo from
$wgHooks, which was a dirty hack and is not compatible with T240307.
Change-Id: I433e30c5f639b5f20838804e8fa7c94a4bcf5349
2020-04-21 10:12:51 +03:00
Translation updater bot
e8065dc6fe
Localisation updates from https://translatewiki.net .
...
Change-Id: If6ccd5cc8669b06196c21839c67f7427ca44011c
2020-04-20 08:41:20 +02:00
libraryupgrader
610dd6adfd
build: Updating grunt-banana-checker to 0.9.0
...
Change-Id: Ic87b561f247f140d1e772d34c4b3b7f9426762b7
2020-04-19 03:52:47 +00:00
Reedy
a07519962a
Move one class to AutoloadNamespaces
...
Bug: T187154
Change-Id: I8f22119ebd6666da5c441e5ba6eb972b314a6fc9
2020-04-19 00:44:13 +01:00
DannyS712
aa681141af
Remove use of Article:: and WikiPage::getRevision()
...
Remove use of Revision objects from
GenerateSampleNotifications::generateReverted
Bug: T250532
Change-Id: I887c2d0b5599ba3acb7657b1a7636d5474f334dc
2020-04-18 01:57:36 +00:00
Translation updater bot
dbd753a0a9
Localisation updates from https://translatewiki.net .
...
Change-Id: Iabbfa195725125592c53b0c9c4ea6766588a6168
2020-04-17 09:06:38 +02:00
Volker E
e85d881817
Replace static border radius value with var
...
In a distant future those might be replaced by core WikimediaUI Base
and this is a sane preparation for it.
Change-Id: I8907c8908f3b775be36b16a6782d7e9719e30c4c
2020-04-15 18:09:48 -07:00
Volker E
32c1c8e5f1
Amend Base10 color, add and amend WikimediaUI Base variables notation
...
Amending Base10 to slightly darker `#202122` to fulfill WCAG
requirements in connection to Accent50.
Also adding and amending WikimediaUI Base variables where in connection
with the color change.
Bug: T248393
Change-Id: I3b0c1666f7f883908a3778aa9e3fcbf51b57fefe
2020-04-15 18:02:21 -07:00
Translation updater bot
0ff96d0b1e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie6ba7a275befe2883a5141611617b5cb9f36d4d5
2020-04-15 08:23:44 +02:00
Translation updater bot
f7497d1da0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibae2054e0eee23b012789eaf7e2607587a52e892
2020-04-14 08:23:36 +02:00
Translation updater bot
c0cbcdd24f
Localisation updates from https://translatewiki.net .
...
Change-Id: If02584e66e06a207a0d8719383e89747641ef2a2
2020-04-13 09:00:20 +02:00
Translation updater bot
0dbfedbcc9
Localisation updates from https://translatewiki.net .
...
Change-Id: I25be16c5cb699b04c53bdbb3c688b38fc1fff3fd
2020-04-10 09:51:21 +02:00
DannyS712
c87da1142f
Remove unneeded dependency on 'mediawiki.notify'
...
The single line of code it contained is part of mediawiki.base as of
MW 1.35, and the extension only supports MW 1.35+
Bug: T233676
Change-Id: Idcd456bd924e84ea53e1bb090267ef8d1ed35a94
2020-04-09 02:53:25 +00:00
DannyS712
55b018cdd4
Use LinksUpdate::getRevisionRecord
...
Bug: T249397
Change-Id: I335e12fc2f57a9ca07f985482eb4c339933ef13f
2020-04-08 02:31:43 +00:00
Translation updater bot
bb47d976ed
Localisation updates from https://translatewiki.net .
...
Change-Id: I10b912d8b143409270cb57c6f6b55c6a0d1c97c8
2020-04-07 08:39:52 +02:00
jenkins-bot
01c00b670a
Merge "Use MediaWikiServices::getAuthManager"
2020-04-06 09:37:49 +00:00
jenkins-bot
8b81354cda
Merge "Add getter for EventPresentationModel::$distributionType"
2020-04-06 07:56:07 +00:00
Translation updater bot
8241fa93f3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie886d7423addf7619b658a01f15ad2ae0f2c5684
2020-04-06 09:01:47 +02:00
Reedy
2661c3a787
Add getter for EventPresentationModel::$distributionType
...
There are cases where we want to vary on $distributionType what is sent.
If it's an email (for example), we might want more information and
context which is unneeded via the web notification.
Bug: T249408
Change-Id: I68cedfa8389e1d935b02ca7475bf42262005d2bc
2020-04-05 19:00:16 +00:00
Umherirrender
4337586f4a
Use MediaWikiServices::getAuthManager
...
This required MediaWiki 1.35
Change-Id: I91de51208be72ad0eebc15c3d74069360014085e
2020-04-04 16:59:12 +02:00
jenkins-bot
ce186cf03e
Merge "Add aria-label
to Notifications page “Recent activity” filter widget"
2020-04-03 21:18:37 +00:00
Akinwale Alagbe
b49fdb88c3
Add aria-label
to Notifications page “Recent activity” filter widget
...
Adding `aria-label` to the filter widget, with `listbox` role assigned
to allow screen readers parse read the content.
Bug: T244543
Change-Id: I72a4045abe9a7c391ee3fe471ed944d96259b79e
2020-04-03 20:00:22 +00:00
Translation updater bot
99eaaec519
Localisation updates from https://translatewiki.net .
...
Change-Id: I1be70dfa2887e55e85285149fb757321d28a7628
2020-04-03 08:28:23 +02:00
Translation updater bot
45ae01db45
Localisation updates from https://translatewiki.net .
...
Change-Id: I454d6bb2235542bac197601920762d27a3b87197
2020-04-02 08:24:31 +02:00
Translation updater bot
37ed47d933
Localisation updates from https://translatewiki.net .
...
Change-Id: I5ddbb72362309b2e03999ba4a0d6ede44eb23667
2020-04-01 08:24:51 +02:00
Translation updater bot
98efbf3415
Localisation updates from https://translatewiki.net .
...
Change-Id: I3d9cc4d317cd474297e33369d86e440421f32dfa
2020-03-31 08:28:40 +02:00
libraryupgrader
e3df8797ff
build: Updating gonzales-pe to 4.3.0
...
* https://npmjs.com/advisories/1179
Change-Id: I6f0ab6acf71850638c40077fa8b92f225de3501e
2020-03-31 02:39:48 +00:00
Translation updater bot
6999655ab2
Localisation updates from https://translatewiki.net .
...
Change-Id: I93a2dfb2f61084bf73bd0b4964d97ae6b97ff91f
2020-03-27 08:41:09 +01:00
Translation updater bot
e65eda6479
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd7884b999ddb8ac264b69a91252c53b9e6e28b1
2020-03-26 08:31:37 +01:00
Translation updater bot
f2d4c98d43
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibd9010a5d328ce749b1655f2226ce87b5a6e6f2c
2020-03-25 08:32:39 +01:00
jenkins-bot
92e72e9bad
Merge "Replace deprecated User::isAllowed with PermissionManager"
2020-03-24 21:00:09 +00:00
Translation updater bot
42f3a2ccff
Localisation updates from https://translatewiki.net .
...
Change-Id: I80e50a1b8447aacfb5f000efd78da3be947af954
2020-03-24 08:49:04 +01:00
Translation updater bot
8e2e036d2c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib093d38d61e29da6465ab0449ac276de48ec26b5
2020-03-23 09:02:57 +01:00
libraryupgrader
4b602d791f
build: Updating npm dependencies
...
* mkdirp: 0.5.1 → 0.5.3
* https://npmjs.com/advisories/1179
* eslint: 6.6.0 → 6.8.0
* https://npmjs.com/advisories/1179
* svgo: 1.2.2 → 1.3.2
* https://npmjs.com/advisories/1179
Change-Id: Ie46e0ecad8f7ca193227c57c824e6068e5569f66
2020-03-20 22:32:47 +00:00
DannyS712
1d8170a540
Use lowercase for primitive type 'string'
...
Change-Id: I7e4a3a198b973cf9037b283253c1e2dda6e8b873
2020-03-20 15:37:50 +00:00
libraryupgrader
64b389fdfe
build: Updating minimist to 1.2.5
...
* https://npmjs.com/advisories/1179
Change-Id: I5c0763efa647e01971afeb15017d31a991079fbc
2020-03-18 07:17:15 +00:00
Ammar Abdulhamid
ad8340ea59
Replace deprecated User::isAllowed with PermissionManager
...
Bug: T220191
Change-Id: I321a1d67a9272dfb305d76589c6371176f1afc16
2020-03-14 19:14:37 +00:00