Commit graph

4506 commits

Author SHA1 Message Date
Translation updater bot bc79c06ea1 Localisation updates from https://translatewiki.net.
Change-Id: I54783dfe9642e4af3081d4864a62b8cfd7a9639f
2017-10-15 22:40:01 +02:00
Roan Kattouw 98370e8c83 ContainmentSet: Use strict comparison for array_search()
Otherwise, if $list->getValues() contains the number 0,
any non-numerical string will match, because 'foo'==0 is true.

This, in combination with a broken maintenance script that had
inserted 0s into some users' blacklist, broke all notifications
for those users.

Bug: T177825
Change-Id: If8700b4d0de0fdba876eb9d5cc4997e185dfeb3c
2017-10-14 16:31:13 -07:00
Translation updater bot df9f01cb18 Localisation updates from https://translatewiki.net.
Change-Id: If86314b5fada95e00825831e6d2d2ad6bdc84c13
2017-10-13 22:36:14 +02:00
WMDE-Fisch 713c28e861 Minor PHPdoc fixes
Change-Id: I037df8d0bd13dd7a8201fd1408bb2f642f9786b6
2017-10-13 13:48:05 +02:00
Obaid Raza 8e4e746728 Setting aliases of some special page names for Urdu language
Change-Id: I744e8a56dab9a5d5d8c56b571ef2d8952bc4f752
2017-10-13 07:04:57 +00:00
Brad Jorsch 93136b71ac Update for deprecation of selectFields() methods
Various selectFields() methods were deprecated in MediaWiki core change
Idcfd1556, replaced with getQueryInfo() methods.

Change-Id: I5d62ad76fdb64a9c6efd228f27e9b5f512f17d5e
Depends-On: Idcfd15568489d9f03a7ba4460e96610d33bc4089
2017-10-12 16:04:15 -04:00
jenkins-bot bab8145f06 Merge "Align popup message color to toast message in MinervaNeue" 2017-10-12 19:19:12 +00:00
jenkins-bot 5200473da6 Merge "Remove PHP entry point" 2017-10-12 19:13:38 +00:00
jenkins-bot 90347adaad Merge "Remove pre-authmanager code" 2017-10-12 07:29:21 +00:00
Reedy a56460ed7f Remove PHP entry point
Change-Id: I7b578921bdf17d0d8fdc8b934f02f72e1e607923
2017-10-12 01:28:22 +01:00
Reedy 7ae0321f09 Remove pre-authmanager code
Bug: T178027
Change-Id: I305bc2974fe4181feb3d84e2fa21f78e6b5d83f7
2017-10-12 01:28:09 +01:00
Translation updater bot 01fa8d1be9 Localisation updates from https://translatewiki.net.
Change-Id: If76a19d94492d64ce11614dabe8498fb66fa146c
2017-10-11 22:55:19 +02:00
jenkins-bot b2b7547877 Merge "Replace vendor prefixed box-shadow with central mixin" 2017-10-10 21:16:49 +00:00
jenkins-bot e9aec8c9e1 Merge "Replace subtle greys with WikimediaUI color palette ones" 2017-10-10 21:13:51 +00:00
Translation updater bot abb079e918 Localisation updates from https://translatewiki.net.
Change-Id: I9bc1b3c688fed6209078aca42252a62acef95ee3
2017-10-10 22:51:03 +02:00
jenkins-bot 4d483f0e9c Merge "updatePerUserBlacklist wfWaitForSlaves()" 2017-10-10 18:51:21 +00:00
Translation updater bot 5e75c53da9 Localisation updates from https://translatewiki.net.
Change-Id: Ied246288584eb7f1a532af4c30241d4276fa4188
2017-10-09 22:47:33 +02:00
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