Commit graph

5589 commits

Author SHA1 Message Date
Antoine Musso 2034f73f33 updatePerUserBlacklist wfWaitForSlaves()
Commit a live hack. Master branch would have to be updated.

Bug: T173475
Bug: T177437
Change-Id: I80bec4ed0d92e04eed311b4e0d906ead7432abe8
2017-10-09 20:09:43 +00:00
Volker E 4b3782a46a Replace subtle greys with WikimediaUI color palette ones
Bug: T177723
Change-Id: Iceafe2f3e702667e0ee68b79ddcb6aa4d8fd0010
2017-10-08 10:26:43 -07:00
Volker E d4682c9f14 Align popup message color to toast message in MinervaNeue
Toast messages carry now `#222`. This should be used here as well.

Bug: T177723
Change-Id: I7e1f6c2e1937353b0485ed0b5c2737742c62e770
2017-10-08 09:55:18 -07:00
Volker E 1a46e0f06f Replace vendor prefixed box-shadow with central mixin
Replacing vendor prefixed `box-shadow` with LESS mixin out of
mediawiki.mixins.less. This also removes obsolete `-moz-box-shadow`
saving some bytes.

Change-Id: I336ee7340bc518fef74762a8381495265dd3eb4b
2017-10-08 09:50:09 -07:00
Umherirrender eba147a1b4 Always return false on EchoUserNotificationGateway::markRead
Also rename some variables.
$res indicate a ResultSet, not a bool

Change-Id: I4f0276cbe01a0391b4bd2616e111067b40363fea
2017-10-06 22:22:33 +00:00
Translation updater bot 5a74bf552a Localisation updates from https://translatewiki.net.
Change-Id: Ice681fdb808afaa467f15c4181815087620fe5cc
2017-10-06 22:33:50 +02:00
jenkins-bot d009239737 Merge "Use main Database Connection for Maintenance Script" 2017-10-05 21:08:48 +00:00
David Barratt a7cc2c4827 Use main Database Connection for Maintenance Script
To access user_properties in the WMF cluster, we must use the standard database connection instead of the echo connection.

Bug: T173475
Change-Id: Ic7344e4521b30055f7986aefd61712e6c6a0052c
2017-10-05 16:45:02 -04:00
Translation updater bot ae96c70211 Localisation updates from https://translatewiki.net.
Change-Id: I3eb0c73cfbd7dd621d8df0dea14899fabbae6505
2017-10-05 22:35:45 +02:00
Translation updater bot 0ddc88eeec Localisation updates from https://translatewiki.net.
Change-Id: Id919570d0022026cfdf1ec4794feda4adc57e061
2017-10-04 22:35:50 +02:00
Chad Horohoe 382d163f95 Remove unstub logic
User objects haven't been stubbed in awhile, and language objects
aren't being stubbed anymore.

While we're here, swap a few MWException -> InvalidArgumentException
since they're more accurate :)

Change-Id: I7e2f2aa135b024fb653c3ec13181d7015383ff2f
2017-10-03 23:15:51 +00:00
jenkins-bot d22e10efc7 Merge "Use User Ids instead of User Names for Echo Mute" 2017-10-03 21:59:04 +00:00
Translation updater bot 9e5764fac5 Localisation updates from https://translatewiki.net.
Change-Id: I17dc45fec6ff2c43538b8198b5aacfbfadad1d4c
2017-10-03 22:43:29 +02:00
David Barratt 3ba76f7faa Use User Ids instead of User Names for Echo Mute
The echo mute list uses user names which are not stable. User ids should be used instead.

Bug: T173475
Change-Id: I947bcf37a8f85aaa105776d368dbd0ab76823aeb
2017-10-02 19:39:40 -04:00
jenkins-bot 746b965fb2 Merge "Fix PHPDoc Documentation" 2017-10-02 22:53:47 +00:00
David Barratt d76ff6e32f Fix PHPDoc Documentation
Documentation is throwing linter errors and needs to be fixed.

Bug: T173475
Change-Id: Ic120b6a7a1f29ea90a939c4348202c09d47c38f5
2017-10-02 18:40:46 -04:00
Translation updater bot 5e829b752d Localisation updates from https://translatewiki.net.
Change-Id: I9b1aae234bce4b49c7eb5ae0b14eda16f0986652
2017-10-02 22:47:53 +02:00
petarpetkovic d8c655e572 Change Echo notification blacklist message
Change "learn more" link
from https://www.mediawiki.org/wiki/Help:Notifications#mute
to https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Notifications#mute.

Bug: T174376
Change-Id: Id9bbdae601b070b07994a4e8e0892cd5fe5edf76
2017-10-02 16:37:10 +02:00
Translation updater bot e3b7dae7d6 Localisation updates from https://translatewiki.net.
Change-Id: If536eb101360b6c36028a5eb9d2ebf89f96b5efd
2017-10-01 22:25:27 +02:00
Translation updater bot 9bd374af0c Localisation updates from https://translatewiki.net.
Change-Id: I624ae6798c1ae19ac6583fbb290a9508af76b304
2017-09-30 22:37:52 +02:00
Translation updater bot fae8518f6b Localisation updates from https://translatewiki.net.
Change-Id: Id61d6c54e75abedb028c4c92dc35ec58efdea0c7
2017-09-28 22:27:36 +02:00
Translation updater bot e1e138388b Localisation updates from https://translatewiki.net.
Change-Id: I8001462c4b53ec0a53c97ba393b7a809deed002b
2017-09-27 22:23:10 +02:00
Kaldari 4381dbbe8a Fix gap between notification pop-up header and notifications
Change-Id: I12261ad8033af7286d426933df19611b8163d9c9
2017-09-26 18:44:56 -07:00
Translation updater bot 7e7c6d0662 Localisation updates from https://translatewiki.net.
Change-Id: Ib2037ca56dfdd738f2ac9ac05d0074d47e6c7006
2017-09-26 22:35:02 +02:00
Translation updater bot 92e169d245 Localisation updates from https://translatewiki.net.
Change-Id: I6290b6fe16c15e2b5571d2655b463d28ccfa578d
2017-09-25 22:31:57 +02:00
Translation updater bot ea80a2378b Localisation updates from https://translatewiki.net.
Change-Id: Ib9955d6bbd166bd9ef5bc5dde40241f7ad1b4fb8
2017-09-24 22:37:38 +02:00
libraryupgrader 7a23ddf4b0 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I7b19fab3b1100c4973600ec95ee24160e141c5ac
2017-09-24 09:49:43 +00:00
Translation updater bot 05f573b44b Localisation updates from https://translatewiki.net.
Change-Id: Ica8d985b4315e70e72f114c6bfc9bb067d26b609
2017-09-23 22:34:24 +02:00
Translation updater bot 497d3e299d Localisation updates from https://translatewiki.net.
Change-Id: I44a061673d4bd0e2d7e24c9cd46f9cc53dcf108c
2017-09-22 22:52:13 +02:00
Translation updater bot 03eb49f920 Localisation updates from https://translatewiki.net.
Change-Id: I95850c988f4c22a88fa6234efe898dba430f29f1
2017-09-21 22:37:16 +02:00
Translation updater bot a543437e03 Localisation updates from https://translatewiki.net.
Change-Id: I595525a53c20f3faea2e2e04863e55991dae620c
2017-09-20 22:45:00 +02:00
Mark A. Hershberger 36ffa115c7
Provide base href in Echo's HTML emails
While working on my own Echo notifications for CategoryWatch, I came
across this bug.  I was happy to see that someone else identified this
a while back.

Wikitext-to-html production for the body of Echo messages does
not fully qualify urls.  This means that links are created pointing
to, for example, "/w/index.php..." instead of
"http://example.com/w/index.php...".  Supplying a base URL in the html
for the message fixes this problem.

Bug: T141521
Change-Id: Icfb9f3be58b83d2a441972adb58fef1169169d7c
2017-09-19 22:15:56 -04:00
Translation updater bot d08a539be2 Localisation updates from https://translatewiki.net.
Change-Id: I5ffeb0386ec9d152d9535cb1d5572f8d503f57a4
2017-09-19 22:51:05 +02:00
jenkins-bot 31709919e4 Merge "Consistently use the message when updating count" 2017-09-18 15:08:17 +00:00
Translation updater bot 6d4113f1dc Localisation updates from https://translatewiki.net.
Change-Id: I15035b13a28af20418cab7a28fde8fbea7e9a696
2017-09-17 22:23:32 +02:00
Translation updater bot c45cd89867 Localisation updates from https://translatewiki.net.
Change-Id: If9e609fd501c8346af7234c9f95e39810dd87c6a
2017-09-16 22:41:41 +02:00
Translation updater bot 2a9b513734 Localisation updates from https://translatewiki.net.
Change-Id: I47b9b881490b0e61c2cb60f1fbf347568e5110b8
2017-09-15 22:31:03 +02:00
Moriel Schottlender 57f14931b6 Consistently use the message when updating count
The current initial message in the button label is "Alerts (x)" or
"Notices (x)" but when the badge loaded, we changed that to only show
the rendered number. This is inconsistent; the badge should always
update the label properly, even if it's not visible in most cases.

Bug: T173970
Change-Id: I6a5e13fc36ddb1bf467c712fcf49af3b18e582d0
2017-09-14 17:33:48 -07:00
Translation updater bot d0530a7414 Localisation updates from https://translatewiki.net.
Change-Id: Ide1b09427116460e2d57813c92c030a70436208b
2017-09-14 23:14:14 +02:00
Moriel Schottlender c086169138 Use "formatversion: 2" in notification fetching
This means booleans are actually true/false rather than value or
empty-string.

Bug: T175867
Change-Id: I3d33129d061a64012602a131741d20e2ff97d1be
2017-09-13 15:18:07 -07:00
Translation updater bot 3455e5689c Localisation updates from https://translatewiki.net.
Change-Id: Iddf1ac6de8ac3cfadce3bb10d19c60c02f533e92
2017-09-13 22:36:45 +02:00
Translation updater bot 5849915ed2 Localisation updates from https://translatewiki.net.
Change-Id: Ia3b05c26865f89834932394ac8e71dc91ea3b71b
2017-09-12 22:32:18 +02:00
jenkins-bot 4102d545e8 Merge "Fix interpretation of 'prioritized'" 2017-09-11 21:16:36 +00:00
Translation updater bot 52f451de4c Localisation updates from https://translatewiki.net.
Change-Id: I93c67a64915ff9b559c0dadc6fd2d18f0a1c8146
2017-09-10 22:24:50 +02:00
Translation updater bot 409ccfa9ee Localisation updates from https://translatewiki.net.
Change-Id: I98cfeb0bbd3895a251b4f389c4fdf25238c18d08
2017-09-09 22:30:24 +02:00
Translation updater bot 6ead33cc94 Localisation updates from https://translatewiki.net.
Change-Id: I3bd6c5455fef75dd68dcae84cc15a4f3a0affb0e
2017-09-08 23:58:43 +02:00
Matthew Flaschen f80a11d53b Fix interpretation of 'prioritized'
Docs (especially in EventPresentationModel.php) say true means outside
the menu, false inside.

However, it was interpreting any non-undefined value as true.

Change-Id: Icb438538e5c588c1ac7d4bbac0b762dd07057199
2017-09-07 19:13:10 -04:00
Translation updater bot 32af6dae0c Localisation updates from https://translatewiki.net.
Change-Id: Ia8ea7c44b2941b7be3333c2acfdc151e2b2975dd
2017-09-07 23:21:32 +02:00
Translation updater bot 8c836d09c9 Localisation updates from https://translatewiki.net.
Change-Id: Ieed513daa289d38abdc91eb9d2c78009a8e76a71
2017-09-06 22:40:35 +02:00
Brad Jorsch 1f9eedf40f Remove reference to deprecated IDatabase->nextSequenceValue()
The method was deprecated and made unnecessary in Ib308190c.

Change-Id: I47aca6a7c77821119f52e639d0e74a1e6302532a
2017-09-06 13:05:14 -04:00