Commit graph

4319 commits

Author SHA1 Message Date
Translation updater bot 50d0210638 Localisation updates from https://translatewiki.net.
Change-Id: I3a423095b5c2499de5f0424390794f410c8fbd62
2017-10-19 23:06:47 +02:00
Max Semenik 7568dae7b0 Get rid of double-escaping
Title fragment isn't supposed to be escaped on input. It gets escaped later,
when getFullURL() gets called on the title. This previously didn't matter much
because Sanitizer::escapeId() doesn't break anything if called repeatedly. However,
now it's deprecated anyway and uses legacy encoding so I need to get rid of it.

Change-Id: I6392604ac0841ae92a21ecb569c9643d7bc6231c
2017-10-18 18:52:21 -07:00
jenkins-bot e25e8b1231 Merge "Use position:sticky for toolbar floating" 2017-10-18 23:01:56 +00:00
jenkins-bot 5cfdc7f648 Merge "Improve some parameter docs" 2017-10-18 22:37:05 +00:00
Translation updater bot 103eb3db1b Localisation updates from https://translatewiki.net.
Change-Id: Ie0bc41b6759c5cbaa0b46b925c1ce43100f4d9f5
2017-10-18 22:28:05 +02:00
Bartosz Dziewoński 6fa38a985c mw.echo.ui.PageNotificationsOptionWidget: Fix CSS after changes in OOjs UI
We have to override 'position: absolute' and increase the specificity
of the selector to override 'display: block'.

Bug: T178439
Change-Id: Icd09e8302f124524779553eae3536d875f2e1227
2017-10-18 20:56:27 +02:00
Umherirrender 546e3bdd55 Improve some parameter docs
Change DB_SLAVE in comments

Change-Id: Idd5787928b87f5af63864dc626cb603f281515d7
2017-10-18 18:44:52 +02:00
Translation updater bot e135bb30ae Localisation updates from https://translatewiki.net.
Change-Id: I6fe5ab018fdb958fd2d5c5c5feac1a389113c035
2017-10-17 22:42:51 +02:00
jenkins-bot 6338d229c7 Merge "Minor PHPdoc fixes" 2017-10-17 20:06:32 +00:00
Ed Sanders cfa130cc13 Use position:sticky for toolbar floating
Avoids any scroll-based DOM changes which slow down scroll events.
Removes floating in browsers without sticky support (mostly IE).

Change-Id: If75e2a90d76644296fe3db5ef8bd9b26de4e7b0c
2017-10-17 15:22:26 +01:00
Ed Sanders 892ba8e5fe build: Update eslint and other linters
Change-Id: I68b74742bea0c3d4c8e359fd7850beaa6bbc4190
2017-10-17 13:53:08 +01:00
jenkins-bot 3460faa930 Merge "Fix CrossWiki-/BundleGroup layout" 2017-10-17 01:44:02 +00:00
Volker E 6a74084e01 Fix CrossWiki-/BundleGroup layout
Fixing CrossWiki-/BundleGroup layout after OOUI button height,
which is used as header in this case, has been increased.
Also removing `border-bottom`, `box-shadow` and
`border` of next item respectively notification footer are
sufficient and result in the groups being less crowded.

Bug: T177723
Change-Id: I18c0caea2438399d6f97e59c47177691cb43816d
2017-10-16 18:29:12 -07:00
L10n-bot 65a61a9141 Merge "Localisation updates from https://translatewiki.net." 2017-10-15 20:40:10 +00:00
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
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