Commit graph

4121 commits

Author SHA1 Message Date
Brad Jorsch afd052f2ac API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I7b246e8998f918b15923cd17b941c2cc9d0a30a0
2017-06-13 13:27:48 -04:00
Translation updater bot 31d0051841 Localisation updates from https://translatewiki.net.
Change-Id: Ie0fceb7d9ed6ec50a275cda699b009de34cc5911
2017-06-12 22:31:43 +02:00
Translation updater bot c2a1f319de Localisation updates from https://translatewiki.net.
Change-Id: I96d190be5aca2b9753938090515eda147d3f889d
2017-06-11 22:21:06 +02:00
Translation updater bot 22125a8e85 Localisation updates from https://translatewiki.net.
Change-Id: I7c1917da351fc56aef1fed64790f6004fac7d97a
2017-06-11 00:13:06 +02:00
Translation updater bot 5bd6615378 Localisation updates from https://translatewiki.net.
Change-Id: I896c030d05f728e674b8ba473e33b66038ec2ebd
2017-06-08 22:53:26 +02:00
Translation updater bot c81f358cda Localisation updates from https://translatewiki.net.
Change-Id: I742b7dbf152b7ebf910f7c657c1dcd231a264d2c
2017-06-07 22:35:22 +02:00
Amir Sarabadani be03a22710 Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Ie93e8b71b8d5e5d3597f78754c38f33eda926524
2017-06-07 13:25:12 +04:30
Translation updater bot fb5e3ee17c Localisation updates from https://translatewiki.net.
Change-Id: I7005e7552032ba2e736a785ae9a9c8b2ab946c3b
2017-06-05 22:57:24 +02:00
jenkins-bot b182178755 Merge "Fallback to dbname if source title doesn't exist" 2017-06-05 19:00:46 +00:00
Moriel Schottlender f05131a8ef Fallback to dbname if source title doesn't exist
This shouldn't happen regularly, since the source should always
have a title through a wg* variable in LocalSettings.php but in
cases where that is not set up correctly, or is missing for whatever
reason, the system should always fall back to displaying the name
of the source, if the title doesn't exist.

Bug: T164112
Change-Id: I94074adc260a5caf55ca21578fd7071b3323a5e6
2017-06-05 16:40:15 +03:00
Translation updater bot 05fad77707 Localisation updates from https://translatewiki.net.
Change-Id: I4183f2f03d91346f47b97811ee826146bab63de2
2017-06-04 23:16:30 +02:00
Translation updater bot 6ef943bca4 Localisation updates from https://translatewiki.net.
Change-Id: I87673ef557ed9031cae0198e1ea6e06b110268f7
2017-06-03 22:31:10 +02:00
Translation updater bot 4913f30624 Localisation updates from https://translatewiki.net.
Change-Id: I1c54599790f26eb369f0a81d3adb6bd6069eb010
2017-06-02 22:29:53 +02:00
Translation updater bot 4816db3cbf Localisation updates from https://translatewiki.net.
Change-Id: Ib2d4bf2673c64c14f36c7cd682e18eaf3f1b8686
2017-06-01 22:56:08 +02:00
Roan Kattouw 42ff94717d Use the "movement" icon pack for the "expand" icon now that the core icon pack has been removed
Change-Id: Ie3a9f2b2c638512e11646430bef18e84f45aae9c
2017-05-31 17:43:00 -07:00
Matthew Flaschen 813ab5b54e Fix user talk exception for blacklist
There was a null-dereference for events without titles.

Also, it should only whitelist their own user talk space, not e.g.
mentions on someone else's user talk space.

Bug: T150419
Bug: T166627
Change-Id: If7d9cad4eb33ce1f1e6b7d86244332ad5dece954
2017-05-30 19:42:20 -04:00
Translation updater bot 8b6191088e Localisation updates from https://translatewiki.net.
Change-Id: I9e0c97d1e6b8973e8470a1173c9bd9209e68467a
2017-05-30 22:26:22 +02:00
Translation updater bot 21bfe0f408 Localisation updates from https://translatewiki.net.
Change-Id: I9b81ec2f5a2c2d18ec9e55f0c9c88f86a30aaa16
2017-05-29 23:13:05 +02:00
Translation updater bot 683b41bc1b Localisation updates from https://translatewiki.net.
Change-Id: I6dfc2495f51dd6698005dc3f4dda413bfc4f78ef
2017-05-28 22:19:32 +02:00
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