Matthias Mullie
3979919087
Display human-readable wiki names for cross-wiki notifications
...
Bug: T121936
Change-Id: Ic14fe65f4ecc6db94fc6774ca0c39d1c2a47db9d
2016-02-22 20:09:53 +01:00
Matthew Flaschen
4b316438a5
Fix 'Undefined index' PHP warning so XDebug doesn't complain
...
Change-Id: Id8f8113bcdc454d5df09a20175c7698791b71fba
2016-02-19 05:09:45 +00:00
Stephane Bisson
74879c39fb
Truncate secondary link labels
...
Bug: T121822
Change-Id: I3e36a6cd4bc8da96879158e1d7b65fd3a1d582fb
2016-02-18 06:55:36 -05:00
jenkins-bot
d1830041af
Merge "Include reason in user-rights notification body"
2016-02-16 17:59:12 +00:00
Stephane Bisson
dff7e8072b
Include reason in user-rights notification body
...
Bug: T126277
Depends-On: Ib9bb28a7a77602e3e729fd0bf13ab8259e15b006
Change-Id: I4941c4ba16ee95798767d858792090609b47b4e4
2016-02-16 01:51:07 +00:00
Stephane Bisson
98861d059a
Truncate section names to 50 char
...
Bug: T121822
Change-Id: I6220fdfb2ad20cfe9935895a2f5a16727d6cbc01
2016-02-15 15:59:00 -05:00
jenkins-bot
33ee3ebf80
Merge "Have EventPresentationModel implement JsonSerializable"
2016-02-13 07:23:50 +00:00
jenkins-bot
5019802f29
Merge "Introduce congratulatory notifications for reaching edit thresholds"
2016-02-12 22:19:04 +00:00
Kunal Mehta
7f981670a3
Have EventPresentationModel implement JsonSerializable
...
Change-Id: I25a9ba9371ccf6c246de21fbb2c880441e051090
2016-02-12 14:15:23 -08:00
James D. Forrester
5031539327
Introduce congratulatory notifications for reaching edit thresholds
...
Bug: T124003
Change-Id: I21c6570e178fd03d969a516bdb31a6da9735d242
2016-02-12 14:11:21 -08:00
Stephane Bisson
09928f1ed2
Add email body preview to emailuser notification
...
when the subject line is left with the default
generated value, we take the begining of the
email content to add a preview in the
notification.
Bug: T121831
Change-Id: Ib7c646f6709c7100ef51186f84fe14807d6a211a
2016-02-12 14:50:17 -05:00
jenkins-bot
202afb8227
Merge "Truncate usernames to 20 char in notifications"
2016-02-11 19:02:21 +00:00
Stephane Bisson
442f812774
Add subject to email notification body
...
Bug: T121831
Change-Id: Ib1a9212202d2c84de8d968d043f65e24b2d94fae
2016-02-10 12:34:26 -05:00
Stephane Bisson
961968ff56
Truncate usernames to 20 char in notifications
...
Bug: T121822
Change-Id: Ie9650b5c72f2224dc6d26b3bfc45f29cbbd23397
2016-02-09 13:46:39 -05:00
jenkins-bot
ccebb42186
Merge "Get rid of old flyout formatter code"
2016-02-09 18:34:36 +00:00
jenkins-bot
f9b8202f4f
Merge "Use current HTML formatter (for special page) instead of previous"
2016-02-09 18:22:33 +00:00
Stephane Bisson
f7b0637d59
Fix 'user-rights' notification messages
...
Bug: T121661
Change-Id: I5b73001f2f748a39c3b28f6b571f076a51f8f785
2016-02-08 08:45:10 -05:00
Matthias Mullie
9fe71a1182
Get rid of old flyout formatter code
...
This code is completely useless:
* for format=flyout, the new EchoFlyoutFormatter.php will be run
* and even that one has already been deprecated as it was replaced
by format=model (flyout html is now built in client)
Change-Id: Iea23abb66397ecc4efb575fe33fdbedc5b4e0f70
2016-02-05 06:56:15 +00:00
Matthias Mullie
1be7039660
Use current HTML formatter (for special page) instead of previous
...
The existing "html" formatter was used for the special page & is now
superseeded by the new-style "special" formatter. Previous "html"
notifications are no longer used & could even be broken.
Instead of keeping the old "html" formatter around, we should let it
use the new formatter (and eventually just kill that redundant format
in the API)
Change-Id: Ibbd40aafa9eee718b196ad62f6edc99629b263b4
2016-02-04 20:03:19 +00:00
Stephane Bisson
ffc4365b08
Make sure to use array_values for group names in user-rights notifications
...
Bug: T125279
Change-Id: I49b5fe5cf27aef5b710a5d95a064b09b08612667
2016-02-01 13:30:25 -05:00
jenkins-bot
59fc1b6f85
Merge "Add snippet to mention notification"
2016-02-01 09:10:05 +00:00
Stephane Bisson
a4b91ebef8
Gender support for viewing user in user-rights notifications
...
Bug: T125251
Change-Id: Iadd341a3bb555c91152528bbddaf2a660b8dcc77
2016-01-29 16:07:39 -05:00
jenkins-bot
44ae5aefae
Merge "Support GENDER in mention-on-user-talk messages"
2016-01-29 16:47:23 +00:00
jenkins-bot
e750abdf43
Merge "Fix lego messages in 'user-rights' notification"
2016-01-29 16:30:06 +00:00
Stephane Bisson
475d724b45
Support GENDER in mention-on-user-talk messages
...
Also refactored getHeaderMessageKey for grep-ability
Bug: T56433
Change-Id: Ia844c3e0008c7ed24dcc093e3eab41decbcaeb2a
2016-01-29 11:19:12 -05:00
Stephane Bisson
779b7030d9
Truncate usernames, titles and excerpts in notifications
...
Bug: T121822
Change-Id: Ia0a52926133ab7e04d7d9c2a095ef8f9d0871a49
2016-01-29 07:04:23 -05:00
Stephane Bisson
cd7edf0378
Rephrase mention notifications
...
Split mentions into 4 cases:
- Mentioned on article talk page
- Mentioned on agent's talk page
- Mentioned on another user's talk page
- Mentioned on any other page
Adjust secondary link
icon: article or talk
text: without namespace for article and article talk
Bug: T56433
Change-Id: Ibf965dad4f9cc468fdd4321b2450d6eaec0ac1d7
2016-01-29 07:04:23 -05:00
Stephane Bisson
2c7136ecb7
Fix lego messages in 'user-rights' notification
...
Bug: T121661
Change-Id: I8386429a36182dbc44b45990506a42cbeef115ad
2016-01-28 11:43:04 -05:00
Stephane Bisson
386bc86233
Add snippet to mention notification
...
Bug: T121817
Change-Id: I9a77d8ecb1b91f6a196f17777cfabf97c0b59da7
2016-01-21 10:19:14 -05:00
Roan Kattouw
119af0e09a
Make the mention notification actually link to the right section
...
getLocalURL() does not take the fragment into account.
Bug: T123847
Change-Id: I4f8b11c1693ebfcdae69f001057f5db15c11b94f
2016-01-19 09:35:26 -08:00
Stephane Bisson
9e536c91d4
Rephrase Echo 'edit-user-talk' notification
...
Bug: T123934
Change-Id: If053f9787127ca4488c51a663000a48bc717cadf
2016-01-18 15:44:18 -05:00
jenkins-bot
238097e364
Merge "Use globe icon for cross-wiki bundle"
2016-01-18 20:28:53 +00:00
jenkins-bot
18bffba313
Merge "Display revert edit summary in revert notification body"
2016-01-18 19:46:49 +00:00
Stephane Bisson
d7d70a06a1
Display revert edit summary in revert notification body
...
Only display when it's different than the pre-populated
edit summary (Undo revision 123 by User).
Bug: T121808
Change-Id: I5a00ff174fd31fdbf776a06b7b9375f63b921677
2016-01-18 10:14:15 -05:00
Matthias Mullie
e7e55d4279
EchoModelFormatter extends EchoEventFormatter
...
There was no point in letting it extend EchoFlyoutFormatter instead
of the base EchoEventFormatter. The only things in EchoFlyoutFormatter
are formatModel & getIconURL, both of which aren't being called.
Change-Id: I89511530a41976974f4d51d55379a617dfe503ec
2016-01-17 22:26:34 -08:00
Roan Kattouw
3c543215aa
Use globe icon for cross-wiki bundle
...
Bug: T123757
Change-Id: Ib97c0abb43aacba19e6b8d8a329c836e332927a2
2016-01-15 16:43:14 -08:00
Roan Kattouw
c345bef598
Add icon to "View changes" secondary links
...
Bug: T121736
Change-Id: I7dda877c26c99392c17702265380f4ea2a6e8049
2016-01-14 22:53:51 -08:00
jenkins-bot
33fe9a0038
Merge "Cross-wiki notifications integration"
2016-01-15 01:15:42 +00:00
Justin Du
7d2a15d3bc
Clarify some notification icons
...
* edit-user-talk
* mention
* user-rights
* emailuser
Bug: T121735
Change-Id: I72e382b9ff9d19c6acc0df507fdff65732b66450
2016-01-13 14:00:37 -08:00
Roan Kattouw
63eef35026
Cross-wiki notifications integration
...
Bug: T121829
Change-Id: Ifb52ad5605a56d27e5951479326689242a49430e
2016-01-13 09:47:57 -08:00
Matthias Mullie
72f687730f
Get link of LinkNormalizer
...
All extensions seem to have been updated to use the current formats,
so we can get rid of this tech debt.
Depends-On: I7503db28b0d81fb818b525ea9362e49b9b56342a
Change-Id: Idbcbbf95eab1172015bceea4e8124ba4c639efa8
2016-01-12 21:56:52 +00:00
Matthias Mullie
2d72a0e748
Be more clear about what data types we expect in links array
...
Also updated description value in agent link: '' is used everywhere
else to mean "no description" (because that's exactly what '' is)
Change-Id: Ib77c0f1843593abf67e9d726a80bb4fbe1ec7d84
2016-01-12 13:50:43 -08:00
Stephane Bisson
60ddc76880
Update page-linked notification text
...
Bug: T121812
Change-Id: Ie875f105230c8364291a918b869b9c26dbdf1e83
2016-01-12 10:11:31 -08:00
jenkins-bot
a29c62065c
Merge "Add agent link to most notifications"
2016-01-11 22:46:41 +00:00
Stephane Bisson
421ba29a2f
Add agent link to most notifications
...
Affected notifications are
- edit-user-talk
- email-user
- mention
- reverted
- user-rights
Bug: T121737
Change-Id: I826cc6088b4f9c1aaef9e8adee0566d25982ed47
2016-01-11 14:34:39 -08:00
Kunal Mehta
7f0dafbe73
Don't parse wikitext in edit-user-talk snippets
...
Bug: T121994
Change-Id: I427def99f2773896feabaf6202e7f4eecd850be1
2016-01-08 09:22:20 -08:00
Stephane Bisson
1eccdbcb49
Fix casing of Whatlinkshere in page-linked presentation model
...
It generates an annoying orange notice.
Change-Id: Ia548cd08e66db8ab381052874f21ccc49fb03981
2015-12-23 13:04:38 -05:00
jenkins-bot
60cd07bbd3
Merge "Add mw-echo-payload class to body in Special:Notifications as well"
2015-12-19 10:16:21 +00:00
Roan Kattouw
aef3050207
Add mw-echo-payload class to body in Special:Notifications as well
...
This was already done earlier in the old flyout formatter.
Change-Id: I3b4029de4c76910e139d02c9b93cf50e0fac0236
2015-12-18 12:56:32 -08:00
Roan Kattouw
f52e653d5d
Remove link from mention notification header
...
We're trying to get rid of links in notification
messages, and the link was redundant with the primary link
in both cases.
Change-Id: I69e888a355c263b5a8c5ca7a46430746895de44c
2015-12-17 15:01:01 -08:00