Commit graph

2762 commits

Author SHA1 Message Date
Matthias Mullie 9f203c560f Fix hasMessages result when inconsistently enabling cross-wiki
Current situation: cross-wiki can be enabled on certain wikis &
disabled on others.
Code used to check if cross-wiki was enabled before fetching the
status of unread messages on foreign wikis. However, it would then
write that result to a shared memcached key.

The cross-wiki check should not happen before data is stored to
cache: what is stored should always be for all wikis. Only when
we fetch it, should we check if cross-wiki is enabled. And if it's
not, we can't use the cross-wiki data - we have to hack around it
ourselves...

Bug: T124372
Change-Id: I3d3d54fc3cbfbf73b51e97acfd8d355dd0cea36d
2016-02-19 11:37:16 -08: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
Translation updater bot 158a9b620a Merge "Localisation updates from https://translatewiki.net." 2016-02-18 21:20:53 +00:00
Translation updater bot 99c002cec9 Localisation updates from https://translatewiki.net.
Change-Id: I432df3171d8fd1b6addb0735e8172d134731f1ea
2016-02-18 22:15:25 +01:00
Stephane Bisson 7dc87b9f7a Allow setting the unread counts to 0 in the echo_unread_wikis
Bug: T127331
Change-Id: I90342c9d64277faa77a905b227148d3102d049cb
2016-02-18 15:31:55 -05:00
jenkins-bot 4b68e4842d Merge "Truncate secondary link labels" 2016-02-18 18:13:26 +00:00
Stephane Bisson 74879c39fb Truncate secondary link labels
Bug: T121822
Change-Id: I3e36a6cd4bc8da96879158e1d7b65fd3a1d582fb
2016-02-18 06:55:36 -05:00
Translation updater bot 2901417a58 Localisation updates from https://translatewiki.net.
Change-Id: If9d05b6da132d409a907195db6127bb4aceb9028
2016-02-17 22:48:19 +01:00
Translation updater bot 8b2dfd57d1 Localisation updates from https://translatewiki.net.
Change-Id: I080fff835c68ffb0e5bf328dd45c94abe4a498bd
2016-02-16 23:10:41 +01:00
jenkins-bot e75f4c523f Merge "Add 'userSpeechBubble' icon" 2016-02-16 18:09:22 +00:00
jenkins-bot d1830041af Merge "Include reason in user-rights notification body" 2016-02-16 17:59:12 +00:00
Stephane Bisson 683100ab40 Add 'userSpeechBubble' icon
This is used as secondary link icon by
'flow-enabled-on-talkpage' notification.

Bug: T121950
Change-Id: I1bc255627c9d9082a8bcd81758276c2358a784d6
2016-02-16 09:39:38 -08:00
jenkins-bot 4a34710fbe Merge "Increase space between notification header and body" 2016-02-16 04:56:23 +00:00
jenkins-bot c229a033bb Merge "Truncate section names to 50 char" 2016-02-16 04:55:59 +00:00
jenkins-bot b3cde86899 Merge "Increase contrast between header and body text in notifications" 2016-02-16 04:55:56 +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
Stephane Bisson 98d428df71 Increase space between notification header and body
Bug: T125968
Change-Id: Ifec5f819fa687637d7421fb062b7345621a83428
2016-02-15 15:56:59 -05:00
Stephane Bisson f969250b27 Increase contrast between header and body text in notifications
Bug: T125964
Change-Id: Id597f10a624e8b4e92bfc1c1c8c79857f23b598c
2016-02-15 15:45:43 -05:00
Translation updater bot 982e76e045 Localisation updates from https://translatewiki.net.
Change-Id: Ia20f7a297928512e26331d4d10442d69afb6fe93
2016-02-15 21:39:10 +01:00
Stephane Bisson 467eeaf2e9 generateSampleNotifications.php: Generate OpenStackManager notifications
Change-Id: Iaddfa08e42735fd6befbe4c7b3e54b3f4e7f62d9
2016-02-15 19:55:47 +00:00
jenkins-bot f188f792df Merge "Avoiding the use of {{SITENAME}}" 2016-02-15 08:22:45 +00:00
Alangi Derick 9820d20512 Avoiding the use of {{SITENAME}}
Removing locations where {{SITENAME}} was used which are not necessary
as filed by the following bugs;

Bug: T126876
Bug: T126875
Change-Id: Ia355185656a8fa2d9caf36d580e37e82f0b7e22b
2016-02-14 22:28:16 +01:00
Translation updater bot f4bba1ab1a Localisation updates from https://translatewiki.net.
Change-Id: Ife70805c8afe152ef2371d0d19e448cdf0dd0e60
2016-02-14 21:29:48 +01:00
Translation updater bot 6e32a73b63 Localisation updates from https://translatewiki.net.
Change-Id: Ie617a84a7804cd5e63ac2ea1e6ebc0f1900c4de1
2016-02-13 23:00:21 +01:00
jenkins-bot 3068f25bb9 Merge "Generate bundled page-linked notifications in test script" 2016-02-13 20:28:54 +00:00
jenkins-bot 523f4c4089 Merge "Run scripts/gen-autoload.php" 2016-02-13 07:25:53 +00:00
jenkins-bot 2bf38f6c37 Merge "Get rid of pre-5.4 CallbackFilterIterator implementation" 2016-02-13 07:25:50 +00:00
jenkins-bot 33ee3ebf80 Merge "Have EventPresentationModel implement JsonSerializable" 2016-02-13 07:23:50 +00:00
Kunal Mehta 3dea8578da Run scripts/gen-autoload.php
Change-Id: Ica5987ddd1e2299b1b6bb827e973f59bb28f043d
2016-02-12 14:20:24 -08:00
Kunal Mehta 92f69106cd Get rid of pre-5.4 CallbackFilterIterator implementation
Change-Id: Ie2e26eeb9d819db0353e446a7dcd87a809992d92
2016-02-12 14:20:16 -08: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
jenkins-bot 9f526ca72a Merge "Add thank icon" 2016-02-12 22:02:11 +00:00
Translation updater bot a63ff6e84f Localisation updates from https://translatewiki.net.
Change-Id: I75976848803f3bb77cbc95551ea1cb1964acb589
2016-02-12 22:08:11 +01: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
Stephane Bisson 88b16a0c81 Generate bundled page-linked notifications in test script
Change-Id: I6414c920e3a29ea5048819433aa86f41d8f54e69
2016-02-12 14:45:32 -05:00
jenkins-bot 9c7c869a29 Merge "Generate CX notifications in maintenance script" 2016-02-12 19:38:12 +00:00
jenkins-bot 34e8fc03b7 Merge "Bold pages and sections in notifications" 2016-02-12 19:23:46 +00:00
Translation updater bot c4f19d541a Localisation updates from https://translatewiki.net.
Change-Id: I6638dce3036029b583d120e1d9e5b21160d3905e
2016-02-11 21:38:31 +01:00
jenkins-bot 202afb8227 Merge "Truncate usernames to 20 char in notifications" 2016-02-11 19:02:21 +00:00
jenkins-bot c89700e255 Merge "Comparing User objects is unreliable" 2016-02-11 18:54:14 +00:00
Stephane Bisson 91f6798474 Bold pages and sections in notifications
Bug: T121724
Change-Id: Ifb7e5ec9e6a938d34112c6aff698697814c7eedb
2016-02-11 12:57:44 -05:00
jenkins-bot 35c8225485 Merge "Hide 'mark as read' secondary button from foreign x-wiki bundles" 2016-02-11 15:44:34 +00:00
Matthias Mullie 799d4de339 Comparing User objects is unreliable
Objects can be different instances (and for User, they can contain
very different data) in which case they wouldn't be recognized even
if they were the same user.
Let's find by ID instead.

Bug: T124803
Change-Id: Ia166fd4190f264354cea83d98047c62c7e0714ea
2016-02-11 14:48:29 +01:00
jenkins-bot a381a74f24 Merge "Convert secondary actions to their own class" 2016-02-11 13:25:17 +00:00
Roan Kattouw 6554ed00a3 Crush trash.svg
Change-Id: I1232100d56afbc1ce930e2a1588a0bcb6e45f34d
2016-02-10 14:15:16 -08:00
jenkins-bot f0ca5a5f0d Merge "If user only has foreign messages, the messages badge should not be suppressed" 2016-02-10 21:02:15 +00:00
jenkins-bot 17dda0c827 Merge "Add subject to email notification body" 2016-02-10 20:22:01 +00:00