Commit graph

1613 commits

Author SHA1 Message Date
Translation updater bot 75f111d83c Localisation updates from https://translatewiki.net.
Change-Id: I64eba53377480f1028685a20c40aee411593ce9b
2019-10-10 09:32:41 +02:00
jenkins-bot cd6a340ce8 Merge "Dormant mobile notifications overlay lives in Echo" 2019-10-09 19:50:57 +00:00
jdlrobson d3c0494a17 Dormant mobile notifications overlay lives in Echo
This code will be enabled when Iba1d7863171268066bf7597182c57a0a2041497f
relinquishes the responsibility for rendering the Echo notification badge
and wiring up of the related JS.

It makes 3 assumptions:
1) Minerva will expose a VERSION property on the skins.minerva.scripts module
to tell Echo it can begin control of the functionality
2) A new hook `SkinMinervaReplaceNotificationsBadge` will run on the server side
allowing Echo extension to render the Notifications badge in Minerva.
3) A new client side hook (echo.mobile) will fire whenever the Echo dialog is opened or
closed.

All code relating to Echo inside MobileFrontend and Minerva is
moved here.
CSS for the modules is kept in Minerva as skinStyles

This code remains dormant until Iba1d7863171268066bf7597182c57a0a2041497f lands.
It pre-registers a "to-be-created" hook SkinMinervaReplaceNotificationsBadge that
substitutes the Minerva badge.

It also watches the export value of skins.minerva.scripts for a VERSION value - when
this appears it will take the signal that it should manage the frontend code.

In the new system the mobile specific code is limited to the mobile version of
Minerva. The desktop version of Echo loads on Minerva desktop - presenting an
opportunity in future to consolidate both implementations to use the same component.
The mobile version of Vector and Timeless for example will load the mobile overlay
(with existing styling issues that we don't need to worry about right now given
we don't officially support skins other than Minerva as mobile)

Testers:
* Check require( 'ext.echo.mobile' )(); inside initMobile
inside ext.echo.init does not fire until
Iba1d7863171268066bf7597182c57a0a2041497f is checked out.

Depends-On:  I1a66939d2b596094b419de40b370e79f09c85581
Bug: T221007
Change-Id: I09c27a084100b223662f84de6cbe01bebe1fe774
2019-10-09 12:36:11 -07:00
Translation updater bot 42a70f1814 Localisation updates from https://translatewiki.net.
Change-Id: I97cdc0ec3553cf1845fa0a2bbadd96724d03eafc
2019-10-08 09:32:51 +02:00
Translation updater bot 1901505cc3 Localisation updates from https://translatewiki.net.
Change-Id: I89787320646c88e2ffb5f30cdc5ae4f61ddc1d7f
2019-10-04 09:29:03 +02:00
Translation updater bot 259b0b936c Localisation updates from https://translatewiki.net.
Change-Id: Iaa8196c03cff776ed995983991b660072346e979
2019-10-02 09:21:01 +02:00
Translation updater bot 39c7cc6f7b Localisation updates from https://translatewiki.net.
Change-Id: Ic4b7055d78a2922fea3601112306261d8c65515b
2019-09-30 09:18:58 +02:00
Translation updater bot d67cda9fdd Localisation updates from https://translatewiki.net.
Change-Id: I03b3301b4b5de5ed8c947a02a30f51a4724c567c
2019-09-25 09:23:11 +02:00
Translation updater bot c4b5994a91 Localisation updates from https://translatewiki.net.
Change-Id: If0a5128dcae2af1d2e73bee2f90dae76fe4c1cd6
2019-09-24 09:57:04 +02:00
Translation updater bot e94b40f88c Localisation updates from https://translatewiki.net.
Change-Id: Iea3c3bf88f677bb0158bfdd04586b569986b2baa
2019-09-23 09:25:21 +02:00
Translation updater bot 9efd56a0ac Localisation updates from https://translatewiki.net.
Change-Id: I5760c255259477dc34b0f0d8bc1ec568ffe59e19
2019-09-20 11:42:24 +02:00
Translation updater bot eaa719b629 Localisation updates from https://translatewiki.net.
Change-Id: I54df48b68d4e37f7d5a7a3edb9d26bf52a0fc300
2019-09-19 09:57:50 +02:00
Translation updater bot 00820d22bb Localisation updates from https://translatewiki.net.
Change-Id: Ide9755d9e3426b75edd4a716428a330ec13b4dc2
2019-09-17 09:07:26 +02:00
Translation updater bot 8030ef4f4b Localisation updates from https://translatewiki.net.
Change-Id: I7827b48ca229c899d8cf10e17e47aa56a2107e94
2019-09-16 09:55:02 +02:00
Translation updater bot 5595257b44 Localisation updates from https://translatewiki.net.
Change-Id: I4c4f216a61942e7461fc67842e047e2fca72678d
2019-09-13 10:17:54 +02:00
Translation updater bot da1a6097d2 Localisation updates from https://translatewiki.net.
Change-Id: I552fa0cbc9a75a19e25782c0242f3886f4a5c874
2019-09-12 10:00:37 +02:00
Translation updater bot 634515077c Localisation updates from https://translatewiki.net.
Change-Id: Ifbc3cb603b01f9b8a7edf45bd99aecfedeb3e690
2019-09-10 09:37:14 +02:00
Translation updater bot 0740de0605 Localisation updates from https://translatewiki.net.
Change-Id: Id01a5f6bb03641191590ff399c08785959477fdb
2019-09-09 09:26:07 +02:00
Translation updater bot 472612c741 Localisation updates from https://translatewiki.net.
Change-Id: I6337ce9767502b3ef4bc1a8ca243850c5185dd8f
2019-09-04 10:12:50 +02:00
Translation updater bot 396ad579ce Localisation updates from https://translatewiki.net.
Change-Id: I164d4dfd1396e51619c36759a86d8bc9ee79adc7
2019-09-03 10:27:26 +02:00
Translation updater bot ec0ad22ec3 Localisation updates from https://translatewiki.net.
Change-Id: I8a8c4b66b0d8cdf8c2ee1c7002a1b2b6af633ef4
2019-09-02 10:19:10 +02:00
Translation updater bot c63816675e Localisation updates from https://translatewiki.net.
Change-Id: I06821c2c4fe8c9f86f87136d6665ba91744af25c
2019-08-31 15:56:57 +02:00
Translation updater bot db352b6d86 Localisation updates from https://translatewiki.net.
Change-Id: I47c43ffd79dc53ff85cefd00cfa65b57eb1fa151
2019-08-30 10:03:07 +02:00
Translation updater bot 7342810175 Localisation updates from https://translatewiki.net.
Change-Id: I415b28c3beb70cbc2d0814c54384698d5bcdac02
2019-08-28 10:52:08 +02:00
Translation updater bot ce752ec2a8 Localisation updates from https://translatewiki.net.
Change-Id: Ic7ca4e99ab5129e8b39f34e5dbab6c008abb4eb4
2019-08-27 11:03:42 +02:00
Translation updater bot c003ca5ecb Localisation updates from https://translatewiki.net.
Change-Id: Ib01a046c971bc7c57af9ac8bc79c81962e33b9aa
2019-08-26 09:06:40 +02:00
Translation updater bot 44956a7c20 Localisation updates from https://translatewiki.net.
Change-Id: Ied0c872f0cdc6c221f9a1a75a6208979895e556e
2019-08-25 10:29:55 +02:00
Translation updater bot 8ac4e625e6 Localisation updates from https://translatewiki.net.
Change-Id: Ia96371abfb90eb559382acab1826793edb86aed4
2019-08-23 09:48:12 +02:00
Translation updater bot 3e063ff6c0 Localisation updates from https://translatewiki.net.
Change-Id: I11dd8de2dd01de62b6c8adcce7c70936dc0f9c3c
2019-08-21 10:03:22 +02:00
jenkins-bot 9025816350 Merge "Fix typos in code (paramters -> parameters)" 2019-08-20 12:01:24 +00:00
DannyS712 9866462f39 Fix typos in code (paramters -> parameters)
Bug: T201491
Change-Id: I1050dbe1e9b2fe8e3959753dbc5fc2e5d64ec484
2019-08-20 11:36:10 +00:00
Translation updater bot 7ad71ccd53 Localisation updates from https://translatewiki.net.
Change-Id: I1fd9bef8caf6e8d87445c60074cf149165717a71
2019-08-20 10:20:57 +02:00
Translation updater bot 57cd1a89b6 Localisation updates from https://translatewiki.net.
Change-Id: I54ad720141e49d608d8f5eabca4ecd50c0e45b84
2019-08-18 09:32:33 +02:00
Translation updater bot 6c7a73776f Localisation updates from https://translatewiki.net.
Change-Id: Iadb7d6de9f4841116a0fd6eb451f906ecf906517
2019-08-16 09:17:32 +02:00
Translation updater bot d9314436fa Localisation updates from https://translatewiki.net.
Change-Id: I30d396d1c4d291ac7156b7325040c7c105ab52bc
2019-08-15 09:15:54 +02:00
Translation updater bot 0735255506 Localisation updates from https://translatewiki.net.
Change-Id: I9de21f7457f3a2f614b69b1233ba514403c81e01
2019-08-14 09:12:58 +02:00
Translation updater bot 83c55388fd Localisation updates from https://translatewiki.net.
Change-Id: Id815f0ee931d9f15b4b3c5aa2971f8d74335225a
2019-08-13 09:15:44 +02:00
Translation updater bot 5086e5de06 Localisation updates from https://translatewiki.net.
Change-Id: I563001efad85afadf3212ff2013ed918040b5a86
2019-08-12 09:06:44 +02:00
Translation updater bot 8012d23a00 Localisation updates from https://translatewiki.net.
Change-Id: If0fe62fa6254119fb7ac0c7c3ac395dab6154b8f
2019-08-10 22:48:41 +02:00
Translation updater bot 750e6bce8f Localisation updates from https://translatewiki.net.
Change-Id: Id5883075571f185e7aca2752480703426647a764
2019-08-09 09:08:46 +02:00
Translation updater bot a8317ea0eb Localisation updates from https://translatewiki.net.
Change-Id: I7642f397bcc85e31e815765d5f6f03fec058923a
2019-08-08 09:32:15 +02:00
Translation updater bot 8d44b87536 Localisation updates from https://translatewiki.net.
Change-Id: I861dc8624e22378a5b022f201d6a3b6385c465c1
2019-08-07 09:37:32 +02:00
jenkins-bot 358bdad695 Merge "Define preference for poll updates" 2019-08-06 23:14:49 +00:00
shivanshbindal9 2528e3394f Define preference for poll updates
New preference added so that user can set
* Displaying (n) total unread count in the title
* Displaying notification snippet for incoming notification

Bug: T229732
Change-Id: I35eb68dedf1e087b4668bfec404935f1244b3d0b
2019-08-06 19:42:49 +05:30
Translation updater bot 127b513894 Localisation updates from https://translatewiki.net.
Change-Id: If66612e9db8ef99b0181fed096fc68dc3ffbbb71
2019-08-05 09:40:52 +02:00
Translation updater bot 36e7005d83 Localisation updates from https://translatewiki.net.
Change-Id: Ib53858690cb6808184835b81073a9c89416fc77a
2019-08-01 09:16:22 +02:00
shivanshbindal9 6be1eee1db Display notification text for incoming notification
As now polling is used to update the notification count on header icons.
If there are any new notifications then a snippet containing the header
part of the notification will appear using mw.notify().

Bug: T226130
Change-Id: Id38c8ebedebd4c68b9cef0635043d6f9304784dd
2019-07-31 17:54:20 +05:30
Translation updater bot de434e1306 Localisation updates from https://translatewiki.net.
Change-Id: Idcb8f0277c195f9316d93c0d1205c7ee67033bf7
2019-07-29 09:14:21 +02:00
Translation updater bot 13f318508f Localisation updates from https://translatewiki.net.
Change-Id: Icfa17e84d5ba72436952af3f61a5a61dbf8f0cc6
2019-07-26 08:55:22 +02:00
Translation updater bot 809c9a9abc Localisation updates from https://translatewiki.net.
Change-Id: Iea9647556690e162c88e170cad3bf74f6758a624
2019-07-24 22:28:41 +02:00
Translation updater bot 90b1f09ec5 Localisation updates from https://translatewiki.net.
Change-Id: I6eed108fc3768699c1a6e3b9c37067eb6ef15923
2019-07-23 08:53:56 +02:00
Translation updater bot a6eaf7dfb3 Localisation updates from https://translatewiki.net.
Change-Id: Icbd5f18426725c96793108ade91962655c691272
2019-07-22 22:40:49 +02:00
Dayllan Maza b3df45dc34 Add option to mute/unmute notifications on Special:Mute
The hook (SpecialMuteModifyFormFields) is used to append
the option to mute/unmute echo notifications from a specified user.

Special:Mute handles posting and saving the fields, the only
requirement is that the field name is the same as the property
that wants to be modified, in this case 'echo-notifications-blacklist'

Bug: T220163
Depends-On: I2b3eee0802cb086091f35ecce13ae77a8e7d518d
Change-Id: I77b3ccfdce9b501eb8ecd58c0d7bbecb78029a7e
2019-07-18 15:47:24 +00:00
Translation updater bot 64eb55c290 Localisation updates from https://translatewiki.net.
Change-Id: I0027444ddbda96a92c9cb35cf07da8383381428b
2019-07-18 08:53:14 +02:00
Translation updater bot e5d185c96d Localisation updates from https://translatewiki.net.
Change-Id: I1df3bf4bcebd840d770966bcfa638ae34e63dfcf
2019-07-15 08:34:09 +02:00
Translation updater bot ba607772dc Localisation updates from https://translatewiki.net.
Change-Id: I956a55722aa78ab32e62282bf7288fbf6a7c0f7c
2019-07-12 08:43:20 +02:00
Translation updater bot d1eac9bf06 Localisation updates from https://translatewiki.net.
Change-Id: Ie4dc154af2606e3ea1da5e4162b983efa7e62457
2019-07-07 22:39:06 +02:00
Translation updater bot cecd9e3fa4 Localisation updates from https://translatewiki.net.
Change-Id: I13b87616d176a6b0d6164dde80c9143f934e798a
2019-07-03 22:44:10 +02:00
jenkins-bot ca4e1fbba8 Merge "Use {{formatnum:}} for 99+ in default echo-badge-count message" 2019-07-01 18:39:04 +00:00
Translation updater bot 3d5483d4c2 Localisation updates from https://translatewiki.net.
Change-Id: Ie8af8fa0ecbcc7c7e70bed10d45d6f417da378c3
2019-06-30 22:37:35 +02:00
Roan Kattouw c8e6ff49c0 Use {{formatnum:}} for 99+ in default echo-badge-count message
As it stands currently, every language that uses different numerals than
English does has to override the echo-badge-count message to provide
their own version of "99+". If a language doesn't do that, numbers up to
99 will display using the correct numerals, but "99+" will be displayed
verbatim. Some affected languages have overridden this message, but most
haven't.

Instead, use "{{formatnum:99}}+" in the English message. This is a no-op
in English and other languages that use the same numerals as English,
but automatically converts the number 99 in languages that use different
numerals. This way the only languages that need to override the message
are ones that use a different symbol than "+" for expressing "or more".

Change-Id: I247260ed9bbb40cff88e5ab873072269221b0ad4
2019-06-27 10:34:52 -07:00
Translation updater bot 506aa9d425 Localisation updates from https://translatewiki.net.
Change-Id: I4b5cd9e558def3547aad28169fd832cb6bcdf68b
2019-06-24 08:38:15 +02:00
Translation updater bot 6204787c6f Localisation updates from https://translatewiki.net.
Change-Id: Ia81fc65f5a49653f2379e7b7dfcd2f23eb8e0602
2019-06-17 22:33:45 +02:00
Translation updater bot 698cf06e63 Localisation updates from https://translatewiki.net.
Change-Id: I3651155f13400c433ec273f8b55481ad7ade5768
2019-06-16 22:35:46 +02:00
Translation updater bot 3c067d044e Localisation updates from https://translatewiki.net.
Change-Id: Iab8c0fde92f482f05ed09301f2bf3a0f008e7840
2019-06-10 22:54:32 +02:00
Translation updater bot 70a56e2814 Localisation updates from https://translatewiki.net.
Change-Id: I991c1141ec1c7cccfbf3c46b42687425ba98eaa4
2019-06-06 22:48:23 +02:00
Translation updater bot 6410100d69 Localisation updates from https://translatewiki.net.
Change-Id: I413e3724bb3bd44071e72797956d7824721c7091
2019-06-02 22:29:38 +02:00
Translation updater bot 5f472fafd3 Localisation updates from https://translatewiki.net.
Change-Id: I345cdd016e1e69c33d9b1796a06611a2218a3316
2019-05-26 22:22:49 +02:00
Translation updater bot 2e0a436405 Localisation updates from https://translatewiki.net.
Change-Id: Ie786d2b098853b20dad2999bbdc6133dc278e72d
2019-05-23 23:06:19 +02:00
Translation updater bot 34612122e3 Localisation updates from https://translatewiki.net.
Change-Id: I5e4f32645d00315edc54f77436dfadda76dccdef
2019-05-20 22:29:26 +02:00
Translation updater bot c7691f85c4 Localisation updates from https://translatewiki.net.
Change-Id: I5666ec7f159082327bf6758ea2fb31212d79ab6c
2019-05-16 09:09:59 +02:00
Translation updater bot f04ba06819 Localisation updates from https://translatewiki.net.
Change-Id: I2d5526d3f38c071efa3b6f00e6f62638a5c782dd
2019-05-15 09:12:49 +02:00
Translation updater bot f0a3a6e131 Localisation updates from https://translatewiki.net.
Change-Id: If4b64730368f140f79795fab49e9fd0e9b6bb409
2019-05-13 23:21:51 +02:00
Translation updater bot afcc70bc7c Localisation updates from https://translatewiki.net.
Change-Id: I7dbbf1516631677e664307a44875ace155e8c5b9
2019-05-12 22:33:27 +02:00
Translation updater bot 52ee21983a Localisation updates from https://translatewiki.net.
Change-Id: I314c2470d5a9fa3ea7ad500a2cdd5524e9ecec02
2019-05-10 09:19:17 +02:00
Translation updater bot ad0e6844fb Localisation updates from https://translatewiki.net.
Change-Id: I985046fb1218a8628cfaf372620aa2e887bb8f4d
2019-05-06 09:03:55 +02:00
Translation updater bot db26113215 Localisation updates from https://translatewiki.net.
Change-Id: Iee65c0f96c207d4f7688ea34a59e6cba77d97f08
2019-04-30 22:18:02 +02:00
Translation updater bot f11a60a37c Localisation updates from https://translatewiki.net.
Change-Id: I2a591b168b43163f4e867f2ed8922fdc7a2611fa
2019-04-29 22:15:44 +02:00
jenkins-bot 6b8b45cbb6 Merge "Remove per-type notify-type-availability (make it category-only)" 2019-04-27 13:28:18 +00:00
Roan Kattouw 95172c2c7e Remove per-type notify-type-availability (make it category-only)
Bug: T221264
Depends-On: I74f660e88d18d5a27cc1e74f39316bb27aec1cbb
Change-Id: I12cc0312dbfd9a6923b64117e001841a7bfaaf17
2019-04-26 17:36:10 -07:00
Translation updater bot f36a09b940 Localisation updates from https://translatewiki.net.
Change-Id: I2d6a77df335d28e3abe3b3067d537155a93fe731
2019-04-26 22:27:31 +02:00
Translation updater bot be8429b14c Localisation updates from https://translatewiki.net.
Change-Id: I387f0547eff7fe559e801794829f919e5fd91f8f
2019-04-24 22:20:52 +02:00
Roan Kattouw c8f757a278 Split system category into system and system-noemail
This will allow us to remove notify-type-availability for individual
types, and manage all of it on a per-category basis instead.

Bug: T221264
Change-Id: I78ed6782be8b819cf25cceabb4ea794b15eacafd
2019-04-24 14:08:59 -04:00
Stephane Bisson d5c5480df2 Make thank-you-edit notifications configurable
Add a preference in the notifications section to allow
disabling the 'thank-you-edit' notifications completely.

This is useful to editors active on several wikis. They can
disable it in global preferences and stop seeing them globally.

Bug: T169924
Change-Id: If6716bb98ed2309813536a5834e03833fb537dcf
2019-04-24 08:55:46 -04:00
Translation updater bot ee9d4e7738 Localisation updates from https://translatewiki.net.
Change-Id: Ic782c6fa1732aa44821b73a911451300bebfaa4e
2019-04-23 22:45:12 +02:00
Translation updater bot cb03a805c2 Localisation updates from https://translatewiki.net.
Change-Id: Id9ec226049e43d116d4d68b25824cb94106dc6f8
2019-04-22 09:23:16 +02:00
Stephane Bisson 2fb8db3bca Remove all traces of cross-wiki beta feature
Bug: T221260
Change-Id: I447b5220220fdad68a55629ba5a532db720ca8da
2019-04-17 22:18:13 -07:00
Translation updater bot 5796d46565 Localisation updates from https://translatewiki.net.
Change-Id: Idb6683661b7b1afb4c5176457d16f64a40633152
2019-04-17 22:12:59 +02:00
Translation updater bot 2256c03253 Localisation updates from https://translatewiki.net.
Change-Id: I6b7668351db48bba7f359a272d0c7ffe339358d7
2019-04-15 22:53:31 +02:00
Translation updater bot f0db73b9b6 Localisation updates from https://translatewiki.net.
Change-Id: I00ef49bc9a25415d43a6be832d26a2b3b7bfade8
2019-04-14 22:29:35 +02:00
Translation updater bot 47bc762290 Localisation updates from https://translatewiki.net.
Change-Id: Ic1b8aafbe257cd4926fc41176ff19c8e8b35f17b
2019-04-12 08:31:58 +02:00
Translation updater bot aab3f0fff9 Localisation updates from https://translatewiki.net.
Change-Id: I76ab2d60c4b418545921f7fe54817e90e683d08e
2019-04-10 09:22:59 +02:00
jenkins-bot 7d7531c0e5 Merge "Remove unused messages" 2019-04-10 03:58:36 +00:00
Roan Kattouw f0476b7009 Remove unused messages
Also clean up references to nonexistent messages in qqq.

Change-Id: I3811da1b1420318e5bf747f26244a4bb00d68cc5
2019-04-10 03:37:18 +00:00
Translation updater bot 23cd921dfd Localisation updates from https://translatewiki.net.
Change-Id: I5b69a010e62e405016078f26deae7cc7a8946ba7
2019-04-09 09:03:14 +02:00
Translation updater bot ec563110f3 Localisation updates from https://translatewiki.net.
Change-Id: I72058d77da731d31b2ba63e465e01f70692a48e0
2019-04-08 08:38:52 +02:00
Translation updater bot e4598b856e Localisation updates from https://translatewiki.net.
Change-Id: I49704a0f2b80caf2973d894a9245b3b02e7315ed
2019-04-05 22:27:19 +02:00
jenkins-bot 16bbc494a8 Merge "Pass viewing user as $3 to email subject messages (for GENDER)" 2019-04-04 22:58:46 +00:00
Roan Kattouw d002512f09 Pass viewing user as $3 to email subject messages (for GENDER)
Do this by default in EventPresentationModel so it automatically works
for all email subject messages.

Update messages to use this parameter. Also update email subject
messages that were trying to use parameters that didn't exist, and fix
message documentation that was completely wrong about what the
parameters were.

Also update translated messages to account for parameter shifts (in many
cases, these messages were using the wrong parameter or a nonexistent
one).

Bug: T219620
Change-Id: Ia420c4db13c95d91e1bfc4c7950942df5858379b
2019-04-04 14:58:43 -07:00
Translation updater bot ecf96a5686 Localisation updates from https://translatewiki.net.
Change-Id: Id686fed222fff14e01521a5ed2638c53a35946f2
2019-04-04 14:52:59 +02:00