Commit graph

4102 commits

Author SHA1 Message Date
Translation updater bot b19e959819 Localisation updates from https://translatewiki.net.
Change-Id: Ia2a6ca800a22502ef35d974f0b5196c8e398c3c7
2017-05-26 22:30:52 +02:00
Translation updater bot 53fc3124eb Localisation updates from https://translatewiki.net.
Change-Id: I9062aeb6c27a314be9228e5c8f7e0a53f0d5eaa8
2017-05-25 22:34:48 +02:00
jenkins-bot c2ce20d6bd Merge "Implement per-user notification blacklists" 2017-05-24 21:42:50 +00:00
Kunal Mehta 5d2cde1022 Implement per-user notification blacklists
- Disabled by default, is a gated preference by wg variable
- User specifies blocks in Echo preferences
- Uses a TextArea with username separated by new lines as input
- Still allows notifications to come through on a user's talk page
- Cache the blacklist and whitelist

Requested at
<https://meta.wikimedia.org/wiki/2016_Community_Wishlist_Survey/Categories/Miscellaneous#Allow_users_to_restrict_who_can_send_them_notifications>.

Bug: T150419
Change-Id: Ibf548da4aa600bdc7848cba1947436e56ac48a4a
2017-05-24 16:09:04 -05:00
Translation updater bot 30a4a9e479 Localisation updates from https://translatewiki.net.
Change-Id: Ie4c83b2ce8b66dabffdd12fa5a73461b3f015265
2017-05-23 22:47:06 +02:00
Translation updater bot 083e497b20 Localisation updates from https://translatewiki.net.
Change-Id: Ia84ab2ea404f23cef8f1ba112da67e111cb63ce3
2017-05-21 22:38:13 +02:00
Translation updater bot 33ea210dc9 Localisation updates from https://translatewiki.net.
Change-Id: Ie220a860229a7cbae35567e3d4b462d89531c363
2017-05-20 22:32:20 +02:00
Matthew Flaschen 6a38987198 Trivial docfix in DiscussionParser
Change-Id: I105b297333017dbce71cc42528a0e76f8be5da4b
2017-05-20 13:09:06 +02:00
Nemo bis b3c7a20bb4 Revert "Localisation updates from https://translatewiki.net."
Mistaken addition of English strings as Hindi messages.
https://translatewiki.net/wiki/Thread:User_talk:Sfic/Import_of_English_strings_to_Hindi

This reverts commit 40fee89fbc.

Change-Id: I60121de4e76c487b1479b2614ccee30989954d33
2017-05-19 09:05:04 +00:00
Translation updater bot 40fee89fbc Localisation updates from https://translatewiki.net.
Change-Id: Ia88e2e1ab83206197e2726b03bcd468f09726c5e
2017-05-18 22:36:04 +02:00
Translation updater bot 0458deee49 Localisation updates from https://translatewiki.net.
Change-Id: Iae8385f2b26f21595184997a0a2ccf2ae275cdec
2017-05-14 22:24:32 +02:00
Translation updater bot a8e29457c0 Localisation updates from https://translatewiki.net.
Change-Id: I5b0b67ef0509e9f1efab9c03afe95bc8822fd9d4
2017-05-12 22:55:51 +02:00
Translation updater bot 19e34b6b3e Localisation updates from https://translatewiki.net.
Change-Id: Ifd188841a1f8c3c512144886cb7991d65480b9c2
2017-05-11 23:09:08 +02:00
Brad Jorsch d7a77b0aba Fix usage of $db->nextSequenceValue()
The return value from the method is only suitable for passing to
$db->insert(). To get the inserted ID, you need to call $db->insertId()
even if $db->nextSequenceValue() returned non-null.

Bug: T164900
Change-Id: I466fd372804927b3ad72125c7a69d253bd7a24f8
2017-05-10 17:46:07 -04:00
Translation updater bot 688d5b62e8 Localisation updates from https://translatewiki.net.
Change-Id: I29e4e1e76c9fae2e7dcfb45d32f87edff2828727
2017-05-09 22:47:41 +02:00
Translation updater bot 63862142d8 Localisation updates from https://translatewiki.net.
Change-Id: I05cb18953ce4e8cd14fda5a00bb5d5720c898093
2017-05-07 22:56:59 +02:00
Translation updater bot d2a9cca1df Localisation updates from https://translatewiki.net.
Change-Id: I25d0a5cf99b186246923a33a02da64a794e72eba
2017-05-06 22:42:39 +02:00
L10n-bot bb16f2c5be Merge "Localisation updates from https://translatewiki.net." 2017-05-05 20:34:08 +00:00
Translation updater bot 5569b5117d Localisation updates from https://translatewiki.net.
Change-Id: I1f037219c354cbbadd9536afa4e877eea5187100
2017-05-05 22:34:01 +02:00
Antoine Musso a189e2bf4d build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:51:34 +02:00
Max Semenik 5003262d77 Don't use deprecated class
Change-Id: I76ad6b8cafb4fcf2f1f2ce32537a5314a66b64a0
2017-05-05 11:51:04 -07:00
Roan Kattouw 2e4e14498a EventMapper: Don't retry failed lookup queries on the master on GET
Only retry lookups if there are multiple DB servers and
changes were made in this request. This same logic is used
in a couple of places in MW core, like WikiPage::loadPageData()
and Revision::newFromConds().

Bug: T164505
Change-Id: If1af363f9687019864b5eaef72ffe0bc824a2223
2017-05-04 17:49:33 -07:00
jenkins-bot a157b17749 Merge "build: Update eslint to 0.4.0 and make pass" 2017-05-04 21:13:41 +00:00
Ed Sanders 571223a206 build: Update eslint to 0.4.0 and make pass
Change-Id: I30dd0e1ee56dbcbb7c60608a401179e2d37557ff
2017-05-04 20:57:37 +00:00
Translation updater bot 54eec7170c Localisation updates from https://translatewiki.net.
Change-Id: If82a32ac367af18ccb655b9e3d002705f9831fc2
2017-05-04 22:46:43 +02:00
jenkins-bot a9d4fb257b Merge "Echo should notify user about mention on wikitext page" 2017-05-03 16:22:44 +00:00
jenkins-bot f19d9156a2 Merge "Fix counting of bundled mention notifications" 2017-05-03 10:53:54 +00:00
WMDE-Fisch 620855d770 Fix counting of bundled mention notifications
This patch will fix the notification counts in bundled mention notification
messages. The former method did not work at all due to false assumptions
what the getBundleCount method can be used for.

Since this is in the presentation only wrong messages should be fixed when
deployed

Bug: T164115
Change-Id: If316549a090c2d281a8d612e4985fd556eabc807
2017-05-03 10:40:40 +02:00
Translation updater bot 4b51aa1492 Localisation updates from https://translatewiki.net.
Change-Id: Ib7023f3b902f67330450ab7d71d823800ebc9db5
2017-05-02 22:50:53 +02:00
jenkins-bot 2de9b411c7 Merge "Follow-up 739847c20: don't adjust the popup anchor position" 2017-05-02 18:39:02 +00:00
Roan Kattouw dd2bdd64af Follow-up 739847c20: don't adjust the popup anchor position
We used to need to center the anchor, but I375a76a49337d3b on oojs-ui
makes popup anchors center themselves, so this is now harmful.

Bug: T163993
Change-Id: I345727ae4175fd9d3cea024f43df802bcd401838
2017-05-02 10:55:02 -07:00
Roan Kattouw 2691d94e0f Don't truncate notification header messages in bundles
Bug: T163518
Change-Id: I569aeba7b8f87ca46a81ffb5a56c241342dc3d21
2017-05-02 10:50:13 -07:00
Translation updater bot 96273e9c7b Localisation updates from https://translatewiki.net.
Change-Id: I804e75629746ec06c80b78d8122c9eca54c7fe1c
2017-04-29 23:08:01 +02:00
Matěj Suchánek 1a8f784a6c Fix missing number in message
Change-Id: If1a96e8452b3ee64a6ad2a058c4e5b88ee1e5870
2017-04-29 13:29:51 +00:00
Translation updater bot 07574f712e Localisation updates from https://translatewiki.net.
Change-Id: I540e3b852baa689a19a4c35ff3a60dce96e8d197
2017-04-28 23:46:29 +02:00
Stephane Bisson e81bc9aabe Rephrase notification-header-mention-failure-too-many
Rephrase this message to express the fact that the mentions
below the limit were sent. Only the mentions in excess of the
limit were not sent.

Bug: T144614
Change-Id: I63ff5e089ccdcbc59e25466b841264b18d9556bc
2017-04-28 13:59:02 -04:00
Translation updater bot 4d4859c729 Localisation updates from https://translatewiki.net.
Change-Id: If97fa965b6d627834a638b50eb9989ac6b1320b7
2017-04-27 22:36:41 +02:00
jenkins-bot a3fd1af768 Merge "Echo should notify a new user with welcome message" 2017-04-26 16:11:02 +00:00
Translation updater bot 23a055b761 Localisation updates from https://translatewiki.net.
Change-Id: I544e441543a38a09a872508d77f9eae4d4b02c50
2017-04-24 22:39:42 +02:00
Translation updater bot d3c48f304b Localisation updates from https://translatewiki.net.
Change-Id: Ie3b77e863f37c8d5bcc8d038fd07348d0b49669a
2017-04-23 22:30:40 +02:00
Translation updater bot fb124bef80 Localisation updates from https://translatewiki.net.
Change-Id: Ice66db9f031d9f9d96d2054c4d8c5e0090dac4ae
2017-04-20 22:54:34 +02:00
jenkins-bot 71e10ff246 Merge "MentionStatus: prefer failure-type" 2017-04-20 20:26:23 +00:00
jenkins-bot 80cdc85d67 Merge "Switch TestingAccessWrapper to librarized version" 2017-04-20 19:28:11 +00:00
jenkins-bot a248f830d9 Merge "Fix browser tests" 2017-04-20 17:14:48 +00:00
Stephane Bisson dd77a46c1b MentionStatus: prefer failure-type
In MentionStatusPresentationModel, prefer
extra['failure-type'] to event-type to determine
why the mention was not sent.

Bug: T144614
Change-Id: Id3b55e15a0c1a8f3fee19cbe07983c6e373b309e
2017-04-20 12:21:02 -04:00
Gergő Tisza 39ba452b32 Switch TestingAccessWrapper to librarized version
Bug: T163434
Change-Id: Ib5aeffb793cfd84201ca397a96689e0b81f3265f
Depends-On: I52cc257e593da3d6c3b01a909e554a950225aec8
2017-04-20 11:34:57 +00:00
Translation updater bot 2905fced31 Localisation updates from https://translatewiki.net.
Change-Id: Idfe3292a5bcbc42e87c8f027909ca5f034da27a0
2017-04-19 22:56:23 +02:00
Bartosz Dziewoński 0d23ba8bbe Fix browser tests
Some browser tests were broken by 945fccf009.
The badge element is now technically rendered offscreen, with only the
:before and :after pseudoelements being onscreen. Because of this, Selenium
thinks that the badges are invisible, and this breaks various things in
totally unexpected ways.

* article_page.rb: Store references to the parent <li> elements of badges.
  This might not be necessary but I don't know how to access them otherwise.
* badge_steps.rb: When clicking the badges, click the parent <li> element
  rather than the not-really-invisible <a>. Effectively, the <a> gets
  clicked anyway, since they overlap.
* no_javascript.feature/no_javascript.rb: Wait for page load before
  checking that we're on the right page. The wait is no longer
  implicit, since Selenium thinks we're clicking the <li> rather than
  <a> (links are special-cased).
* notification_steps.rb:
  * Check whether the badges exist on the page, rather than whether they
    are visible.
  * Use a weird hack to read badge text. Apparently you can't read the text
    of elements that Selenium thinks are invisible.
    http://stackoverflow.com/questions/20888592/gettext-method-of-selenium-chrome-driver-sometimes-returns-an-empty-string

Bug: T161941
Change-Id: Ic6bcd1088249109e49a47cc9007e6ee002d3d8ba
2017-04-19 22:27:02 +02:00
Stephane Bisson c46d56b018 Special:Notifications show unread by default if there's unread notifications
Bug: T162927
Change-Id: Ibdfaca90803eb8b12b12eb1781b0692e7336b7d9
2017-04-19 15:20:12 -04:00
Translation updater bot 26a77aa7b6 Localisation updates from https://translatewiki.net.
Change-Id: I07e228735e1f9d08f1049eef396e8faeed547389
2017-04-18 22:28:48 +02:00