Commit graph

422 commits

Author SHA1 Message Date
jenkins-bot 0beefa78c3 Merge "Clean up and refactor formatting system" 2015-10-23 23:20:00 +00:00
Translation updater bot c8054b2bcb Localisation updates from https://translatewiki.net.
Change-Id: I38f6cdd32ee2a2757c4bf96a4134f791029a953a
2015-10-22 21:59:45 +02:00
Translation updater bot 4bb180103b Localisation updates from https://translatewiki.net.
Change-Id: I10382d49cd182b0aee3722a77f0a0911ed43a5f2
2015-10-20 22:46:41 +02:00
Translation updater bot 31110911ea Localisation updates from https://translatewiki.net.
Change-Id: Ie889ecee7bd344d34dfb6485e3f709d5deaa3e35
2015-10-19 22:15:20 +02:00
Kunal Mehta 56c4b95087 Clean up and refactor formatting system
The workflow to format a notification is
* Get EchoEvent, User, and Language
* Get EchoEventFormatter implementation for notification type
** EchoEventFormatter returns structured data about each part of the
notification (header, body, primary link, secondary link(s))
* Each output type will have a formatter class (e.g.
EchoSpecialNotificationsFormatter, EchoPlainTextEmailFormatter) which
takes a EchoEventPresentationModel and generates whatever it wants
(HTML, plain-text email, etc).

Included is an example conversion of the user-rights and mention
formatters. The previous infrastructure will remain in place for
backwards compatability until other extensions can be updated.

Bug: T107823
Change-Id: I4397872a7ec062148dfcb066ddd8ab83f40486ac
2015-10-19 10:00:23 -07:00
Translation updater bot 7a7f0495ff Localisation updates from https://translatewiki.net.
Change-Id: Icd7f653507a8b52d044ff101a1cabffd1cc82dfa
2015-10-18 21:54:33 +02:00
Translation updater bot 28348f2f9c Localisation updates from https://translatewiki.net.
Change-Id: I7d131c25b9fcb1aa6665aeed9e58565ab6b33e94
2015-10-15 21:31:33 +02:00
Translation updater bot 2667e50538 Localisation updates from https://translatewiki.net.
Change-Id: I72d88c3955e9e55e95d4a02ba3df728f4220df24
2015-10-15 09:41:27 +02:00
Translation updater bot 164dd2a886 Localisation updates from https://translatewiki.net.
Change-Id: I37689ce4a5b10397e777847ae983bd6eae5f6c5f
2015-10-14 21:51:55 +02:00
Translation updater bot 1000402461 Localisation updates from https://translatewiki.net.
Change-Id: Ibefb3d256666cc778eaca6394f9ea909efa077e3
2015-10-13 22:10:28 +02:00
Translation updater bot 66605c8696 Localisation updates from https://translatewiki.net.
Change-Id: I4f03b22a4074893c260dc2766860ddc14852223b
2015-10-12 21:04:03 +02:00
Translation updater bot 49a2a325e8 Localisation updates from https://translatewiki.net.
Change-Id: Ifa9acd68330ca07d40ed19bbacdb000a33515237
2015-10-11 21:22:39 +02:00
Translation updater bot 5b0e23b39e Localisation updates from https://translatewiki.net.
Change-Id: I8d29f328fc9bdb18ede71f090be61573a6bc6e27
2015-10-10 22:42:06 +02:00
Translation updater bot 935a935b2c Localisation updates from https://translatewiki.net.
Change-Id: I6dc070cb08bb96667cd63cc48ec7d2dd2292180e
2015-10-08 23:06:50 +02:00
Translation updater bot 010d32f6a9 Localisation updates from https://translatewiki.net.
Change-Id: I4a6806333cdcf9b3ebf0e8098909d71f7fdef41b
2015-10-07 21:59:52 +02:00
Translation updater bot f8c68648f8 Localisation updates from https://translatewiki.net.
Change-Id: Ia36992b6947de6c67691b195a94ff663cd8d8dab
2015-10-06 22:01:13 +02:00
Translation updater bot 2f552b92ee Localisation updates from https://translatewiki.net.
Change-Id: I0028e5c88021d10b6c3be2b390ad134cddc30027
2015-10-05 22:14:38 +02:00
Translation updater bot 2e08292733 Localisation updates from https://translatewiki.net.
Change-Id: I3ec74fded21338e39abc43789058e4fb590b0e6b
2015-10-04 22:17:57 +02:00
Translation updater bot 030a13a8c2 Localisation updates from https://translatewiki.net.
Change-Id: I03bd914720906ee047e567c21611b3a5e771ac55
2015-10-02 23:47:31 +02:00
Translation updater bot b69dfbbf0a Localisation updates from https://translatewiki.net.
Change-Id: I72de4d0845579ffd0a4242b3ff024e33ffcead49
2015-10-01 21:41:00 +02:00
Translation updater bot d7cc8ef04e Localisation updates from https://translatewiki.net.
Change-Id: Id203e946a7d4489620e45f8da89322c282fba9bc
2015-09-30 22:09:29 +02:00
Translation updater bot 110ac95996 Localisation updates from https://translatewiki.net.
Change-Id: I254e93e0d2d54a6e36403727ee0638e574555042
2015-09-29 22:06:30 +02:00
Translation updater bot a288afea26 Localisation updates from https://translatewiki.net.
Change-Id: I905208d96521923cb361a32ea8b36e77b45387c7
2015-09-28 22:43:04 +02:00
Translation updater bot a7e7511bfe Localisation updates from https://translatewiki.net.
Change-Id: I20eaa04b44ebe83460398f4ed84689b6cfdc056d
2015-09-26 21:12:49 +02:00
Translation updater bot 3549bfb8f0 Localisation updates from https://translatewiki.net.
Change-Id: I8da92a2a6a92088d7c43b6478694cf83ad7ca115
2015-09-25 22:33:58 +02:00
Translation updater bot 39096e68e4 Localisation updates from https://translatewiki.net.
Change-Id: If07d320e060e1794c1914cd08ecf4c1b69cbbd97
2015-09-24 21:28:47 +02:00
Translation updater bot 358e047b95 Localisation updates from https://translatewiki.net.
Change-Id: I8ebe7d089592fee6e5dc9332f014ef7626de24bf
2015-09-23 21:30:47 +02:00
Translation updater bot 8066a38175 Localisation updates from https://translatewiki.net.
Change-Id: I52a9196bbfda7820f36eb682b9aab0dfa63064e9
2015-09-22 22:24:03 +02:00
jenkins-bot d248a13f69 Merge "Add an emailuser web notification" 2015-09-22 00:03:44 +00:00
umherirrender 07761b632e Add an emailuser web notification
When an user sent an email to another user with [[Special:Emailuser]] or
action=emailuser, give an echo for the target user to be lookup in his
mailbox.
This option is off by default. It is only useful as web notification,
because an email notification would go to the same address.

Bug: T56130
Change-Id: Ie279457daf51e1c34c998197ce9e76c78ee705e4
2015-09-22 01:58:17 +02:00
Translation updater bot d961bf304b Localisation updates from https://translatewiki.net.
Change-Id: I781a8a136b13a4899d295eed617532587fe333c0
2015-09-21 21:55:43 +02:00
Translation updater bot 60f97aff09 Merge "Localisation updates from https://translatewiki.net." 2015-09-20 20:52:23 +00:00
Translation updater bot 5a8955d537 Localisation updates from https://translatewiki.net.
Change-Id: I196697049ceb9fdf54dc6e65d0215b25229b3bf6
2015-09-20 22:06:05 +02:00
jenkins-bot 26d4552df1 Merge "IP addresses should link to Special:Contributions instead of user page for revert" 2015-09-20 20:01:37 +00:00
Alangi Derick ba4789760c IP addresses should link to Special:Contributions instead of user page for revert
This changes the revert notification (special page version) to link
to the contributions page for anonymous (logged out) editors.
It still links to the user page for logged in editors.

Bug: T55564
Change-Id: Ib1f17fb88237b96cda63dd30ed488a8ffd84750e
2015-09-20 15:53:10 -04:00
Translation updater bot 77e44bb932 Localisation updates from https://translatewiki.net.
Change-Id: Icef510691f580916be2d5261a3f3ab17943626f3
2015-09-19 23:08:56 +02:00
Translation updater bot f76c73de03 Localisation updates from https://translatewiki.net.
Change-Id: I61cceaebcb807d204785657552d40bad3a5f96e2
2015-09-18 23:25:18 +02:00
Moriel Schottlender 5930defcfb Add a missing dot in the new api error message in English.
Change-Id: I3f90e1fe0f3874a9b102ab6124d6ea024247c9b1
2015-09-17 17:10:17 -07:00
Moriel Schottlender 5e8e18ee48 Show a default message if no notifications are available
Bug: T112251
Change-Id: Ia17c50a11ea0a49041795332ba79bd3cbda5b548
2015-09-17 16:25:54 -07:00
jenkins-bot c64cdbd293 Merge "Handle API fetching errors" 2015-09-17 22:11:14 +00:00
Moriel Schottlender fd0aed5ae4 Handle API fetching errors
Bug: T112251
Change-Id: Ifb9c63cd056b0cc0e7076c73e98155cef445038f
2015-09-17 15:03:28 -07:00
Translation updater bot 33b64e4db6 Localisation updates from https://translatewiki.net.
Change-Id: I90d4e317aa2e030c185e335529a1d6dea2c449cf
2015-09-17 22:37:38 +02:00
Translation updater bot 83c151746d Localisation updates from https://translatewiki.net.
Change-Id: Ia6bdf7b3c9a0146dcadc7db7a32b716f44ad351b
2015-09-16 22:40:56 +02:00
Translation updater bot 388d431b5b Localisation updates from https://translatewiki.net.
Change-Id: I351e71b3816f084eab8358cf29524a81ccb35f5f
2015-09-15 22:46:10 +02:00
Translation updater bot e9ac4ce3a0 Localisation updates from https://translatewiki.net.
Change-Id: I4a7200633e83e414d1ab63161f17685afb20f329
2015-09-14 22:04:23 +02:00
Translation updater bot 14db9fd09d Localisation updates from https://translatewiki.net.
Change-Id: Ifaecc09cd00fdc6bbe8c090ab5ffb7d2683c4294
2015-09-13 22:11:30 +02:00
Translation updater bot 4d6581cb55 Localisation updates from https://translatewiki.net.
Change-Id: Iae2a883357cd95adff834349db5057a6c248dd4b
2015-09-12 20:02:53 +02:00
Translation updater bot 4736abde4d Localisation updates from https://translatewiki.net.
Change-Id: I051c39d97ef3a864ec0d87c5a96fc6232d03868e
2015-09-12 01:08:42 +02:00
Translation updater bot f9bb189fa1 Localisation updates from https://translatewiki.net.
Change-Id: I8bd85ee2d5f6fe4fdcfb90585150278ba191d081
2015-09-09 22:01:34 +02:00
Moriel Schottlender 73e3ed3717 Add a tooltip to the notification badges
Since the nojs "base" version uses the automatic title creation
of the personal tools, the message keys were adjusted accordingly,
and the old unified message was removed.

Bug: T108190
Change-Id: I1f242f530aa68562aa4dc885156586c22c4df618
2015-09-08 14:03:34 -07:00