Commit graph

4186 commits

Author SHA1 Message Date
Matthew Flaschen 2dfb4511e9 Convert gen-autoload.php to maintenance script to fix error
Same solution I used for Flow.

See Ibbc95c2bdd0e7012cf05a6c9196869aed1e99989

Change-Id: Id0a99b61226faee63d5e655a816b687747c7e671
2017-06-23 19:35:30 +00:00
Translation updater bot e0cb8b7849 Localisation updates from https://translatewiki.net.
Change-Id: I3160db4ffdc6ded7bc526d38ad4345a59e5d5f4e
2017-06-22 22:49:08 +02:00
Kunal Mehta 95f83de225 phpcs: Fix "MediaWiki.Commenting.FunctionComment.WrongStyle" issues
Change-Id: Ieb1d52e6fd4e1de54e6f1bbfde849acd54fbe0dc
2017-06-22 14:14:28 +00:00
Kunal Mehta aaf061c725 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.ExtraParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle
* MediaWiki.FunctionComment.Missing.Protected
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: I8401abf121a7413fa191d7bc535e0ddd6cf8c3f7
2017-06-22 14:13:28 +00:00
Matthew Flaschen 24a055c946 Correct license to MIT
This extension overall is under MIT, per Echo.php, extension.json,
and COPYING.

Change-Id: I39d533b671bb9eff3ba2e9faf5fcf482374b8e61
2017-06-20 20:32:39 -04:00
Translation updater bot bb382874e1 Localisation updates from https://translatewiki.net.
Change-Id: Iae8e23a8a0a40070f414bbb043f2fbcf32dbf814
2017-06-20 22:40:06 +02:00
Translation updater bot 333315a8a8 Localisation updates from https://translatewiki.net.
Change-Id: I8b0cb876a4b5acd1d69892ae9a2bb00269a3245c
2017-06-19 22:47:29 +02:00
jenkins-bot a18fba6d89 Merge "Use short array syntax in alias file" 2017-06-19 07:28:55 +00:00
Translation updater bot 3fb9a1b2cf Localisation updates from https://translatewiki.net.
Change-Id: I21cf26b723cc1a527d740f0ca112211faf13c2bf
2017-06-18 22:33:32 +02:00
Umherirrender 07ed35dc98 Use short array syntax in alias file
Change-Id: I6054ef766e5f6651506fedb679b8632987a7d61b
2017-06-18 00:02:24 +02:00
Translation updater bot 4be7adb597 Localisation updates from https://translatewiki.net.
Change-Id: I32c15c6bfd9f83d9d42b5f3b03e78df1bc880cb1
2017-06-17 22:25:20 +02:00
Translation updater bot f77197953b Localisation updates from https://translatewiki.net.
Change-Id: Ie95e573f54898b293a6e371d54e7f9495ef2674f
2017-06-16 22:36:31 +02:00
Translation updater bot 12327e0cb3 Localisation updates from https://translatewiki.net.
Change-Id: I9bd225a1e2f36e2f05bec330d4b72cd143993427
2017-06-15 22:49:03 +02:00
jenkins-bot caacefd681 Merge "API: Split description messages into summary + additional text" 2017-06-13 22:28:54 +00:00
Translation updater bot 5a3de50405 Localisation updates from https://translatewiki.net.
Change-Id: Ife7cb91e8c2d071dcf08cb79652686a14b5cd657
2017-06-13 22:27:51 +02:00
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