Commit graph

3635 commits

Author SHA1 Message Date
Translation updater bot 303e51f92b Localisation updates from https://translatewiki.net.
Change-Id: If3fe68c25edaecd78348e8f9ab1f9e2a431fdf9e
2017-06-25 22:49:43 +02:00
Translation updater bot f6fad9ea8d Localisation updates from https://translatewiki.net.
Change-Id: I51523909d0c84ff2fbe8b439014283c55d27c2b8
2017-06-24 22:30:40 +02:00
Translation updater bot 309d0ae30b Localisation updates from https://translatewiki.net.
Change-Id: I45768f6e90d34a0a671b7388c72285e9554e9b6c
2017-06-23 22:23:37 +02:00
jenkins-bot fa40526e29 Merge "Improve tag name validation" 2017-06-23 19:33:51 +00:00
Huji Lee 4a590b0ea6 Make "Description" edit field bigger when editing AbuseFilter
Bug: T159792
Change-Id: I6f180eb9e19aaa4d35d2499125554d7a96048f64
2017-06-21 22:25:29 +00:00
Translation updater bot 12f7b0856f Localisation updates from https://translatewiki.net.
Change-Id: I1b8c3074ab53466f0b23c847a42a5057a91dba69
2017-06-21 22:32:41 +02:00
Translation updater bot 276e2b4933 Localisation updates from https://translatewiki.net.
Change-Id: I23c14601c20760412bfd42107418bcf8da6e7fd8
2017-06-20 22:31:11 +02:00
Translation updater bot 528e056685 Localisation updates from https://translatewiki.net.
Change-Id: Ib9362ff69f57ace9bcbdba93d7a3765481b263b5
2017-06-19 22:37:47 +02:00
jenkins-bot 617290365b Merge "Improve interface for users who cannot modify filters or interface" 2017-06-19 18:03:58 +00:00
jenkins-bot d4ca401506 Merge "Cache global filter names" 2017-06-19 06:48:51 +00:00
Translation updater bot 8d574c4a8c Localisation updates from https://translatewiki.net.
Change-Id: I054f1b76b66457e8f4845b07a95f55027d03eb83
2017-06-18 22:23:37 +02:00
Matěj Suchánek a1aa09d31c Cache global filter names
AbuseLog fetches the names in an additional query for each line but the
result is always same.

Change-Id: Ie12f909727ae82ab60781ccedfdf1b241c105388
2017-06-17 20:50:18 +02:00
Matěj Suchánek a6a76582e2 Improve interface for users who cannot modify filters or interface
Make selectors for groups and warnings read-only and also don't show
edit button for users without editinterface permission.

Change-Id: I7c27f27ed080396b3a64ccaf9a7ccf2c3231b839
2017-06-17 20:48:11 +02:00
Translation updater bot 0f47be6d93 Localisation updates from https://translatewiki.net.
Change-Id: Id15f98040eb4fee0339e2bda5106604709f1c746
2017-06-16 22:27:17 +02:00
Brad Jorsch cec8352e5b Improve tag name validation
Various pieces of the tagging system will break if the tag name contains
slashes or commas, so that should be checked for.

MediaWiki core (as of Ic5d75432) contains a method for doing just that,
so use it if possible.

Also require that tag names be either:
* Intended for reuse (canAddTagsAccompanyingChange)
* Already in use
* Creatable

This prevents the use of software-defined tags (unless whitelisted)
or tags that are blocked from creation (e.g. OAuth reserved tag
prefixes)

Add caching for tag lookup since it's used more often now.

Bug: T92956
Bug: T27151
Depends-On: Ic5d754323cbfd2c2b54c4df1245767946ebb1821
Change-Id: Ibc3095879f276a5436362f471b885e64f338522e
2017-06-15 20:15:20 -04:00
Translation updater bot 3a9b4e74f2 Localisation updates from https://translatewiki.net.
Change-Id: Ie06647404c6f3b0424f3f99a47f8045d8560a057
2017-06-15 22:36:04 +02:00
Umherirrender a063e33ee8 Use short array syntax
Done by phpcbf over composer fix

Change-Id: I53fd1fc8d056b9b60194d2d630852cfca37aadea
2017-06-15 17:02:57 +02:00
Umherirrender 24e4e85603 Use short array syntax - Views / api
Done by phpcbf over composer fix

Change-Id: I83ab556c8400354ecd09f33e1eb28caa17aa803d
2017-06-15 14:40:55 +00:00
Umherirrender 43cd56b236 Use short array syntax in alias file
Done by phpcbf over composer fix

Change-Id: I15d5484c6fc544883c706ed4ba550a0ddd91f8e1
2017-06-15 14:30:30 +00:00
Translation updater bot 284c163e78 Localisation updates from https://translatewiki.net.
Change-Id: I6d5dfa805362ae7c67480c7aa22edb99f245dd95
2017-06-13 22:19:38 +02:00
Brad Jorsch 3386cd6cd5 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I4d4d480f22506f1b39ace486d5da7917a3f2a841
2017-06-13 13:27:46 -04:00
Umherirrender d4b50be650 Update mediawiki/codesniffer to 0.7.2
Also move --ignore to phpcs.xml for use by phpcbf
Short array syntax will be used in follow ups
to keep this patch set small

Change-Id: Ib91f3768cc7cdccdc26a4d5200178ceb8e61e098
2017-06-13 11:59:10 +02:00
Translation updater bot 17b1b15b8f Localisation updates from https://translatewiki.net.
Change-Id: I95609429c3e2c57d60b70f5935d7353001872df4
2017-06-12 22:24:41 +02:00
Translation updater bot 42f08c6772 Localisation updates from https://translatewiki.net.
Change-Id: I855657e95d79ea4669f937d0cd12934958426e7b
2017-06-11 22:12:52 +02:00
Translation updater bot ce20810fa9 Localisation updates from https://translatewiki.net.
Change-Id: I140ac8cf8aff93939c5c72775572a2585986f884
2017-06-11 00:03:34 +02:00
Translation updater bot 63296abbfb Localisation updates from https://translatewiki.net.
Change-Id: I7c5c3b88bd02edf20a8f9798a5a38a5516cdf3d2
2017-06-09 22:32:15 +02:00
Translation updater bot 7548b10ceb Localisation updates from https://translatewiki.net.
Change-Id: Ic5045dc865898018e30df60a796c21eb986754fd
2017-06-07 22:27:52 +02:00
Amir Sarabadani 2f44537c6c Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: I87383711c472280a55b6e4dbaa898fd47d30b8e8
2017-06-07 08:28:35 +04:30
Translation updater bot c7491fc951 Localisation updates from https://translatewiki.net.
Change-Id: I6f82944702ba58bca3c05b31df3fceb514931cd6
2017-06-04 23:08:41 +02:00
Translation updater bot 98587f2cac Localisation updates from https://translatewiki.net.
Change-Id: I5721ad092860eb8d5fa03cefd2653a8cba7f0160
2017-06-03 22:22:12 +02:00
Translation updater bot 92faf08f45 Localisation updates from https://translatewiki.net.
Change-Id: Id2cb29ec5815daf8ac459f8c40252b23941c2377
2017-06-02 22:21:53 +02:00
Translation updater bot f0b04ed1d1 Localisation updates from https://translatewiki.net.
Change-Id: I8741fd41c8753c57398b6183d316d8b59dd12e3a
2017-06-01 22:46:32 +02:00
Matěj Suchánek eb8541eab5 Use mw.Api.parse() for previewing warnings
And add the filter id as the second parameter to the message.

Bug: T68351
Change-Id: Iee8ac20d3cc9c0f6340ec6f339b0e51d7c88f976
2017-05-31 09:06:31 +02:00
Translation updater bot 88b8d0b241 Localisation updates from https://translatewiki.net.
Change-Id: Idd3f9265e52a1f9534b1317f247cb346c8f546e2
2017-05-29 23:04:19 +02:00
Translation updater bot 27192dee49 Localisation updates from https://translatewiki.net.
Change-Id: I1b7fb8871994ceb4e67e20c0fcf9967b892d482f
2017-05-28 22:11:25 +02:00
Translation updater bot 48c1f93f3a Localisation updates from https://translatewiki.net.
Change-Id: I077bb805190f8e1fed0a53af54a808a9a71738a0
2017-05-24 22:35:49 +02:00
Translation updater bot 1518636dc9 Localisation updates from https://translatewiki.net.
Change-Id: I6c80070350ad2b7880c368ef5ae8c462c49c376f
2017-05-23 22:39:08 +02:00
Translation updater bot 1274cca650 Localisation updates from https://translatewiki.net.
Change-Id: I8d521fa63f723b006ec3f8b03b412f1b113050a4
2017-05-21 22:30:19 +02:00
Translation updater bot f752f167e9 Localisation updates from https://translatewiki.net.
Change-Id: I6c8e7d0084e6a0a6a7da44815358a46606a2545d
2017-05-20 22:22:21 +02:00
Translation updater bot f905174883 Localisation updates from https://translatewiki.net.
Change-Id: I13337af9e2b02e862917dd352978b96a3c1782a6
2017-05-18 22:27:10 +02:00
Translation updater bot 060ea0a059 Localisation updates from https://translatewiki.net.
Change-Id: I5384b48547415841ecfb51e123752232baaae40b
2017-05-14 22:16:08 +02:00
Translation updater bot febc8fa812 Localisation updates from https://translatewiki.net.
Change-Id: I73c229c9b823bb95fd3ddf36698f9d2fb86c7e5c
2017-05-12 22:46:42 +02:00
jenkins-bot 45952a5894 Merge "Fix usage of $db->nextSequenceValue()" 2017-05-11 21:19:13 +00:00
Translation updater bot 8fc2b273c2 Localisation updates from https://translatewiki.net.
Change-Id: Idebaba4e09caaa64b36a0965187cb90e690db767
2017-05-11 22:59:12 +02:00
Tim Starling 525b6c064c 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.

Change-Id: Id5a0df17c77445e9f29564a55fb850c3ecad2630
2017-05-11 10:03:49 +10:00
jenkins-bot 6b70225281 Merge "Only add 'sysop' group to filter user if not in it" 2017-05-09 16:46:08 +00:00
TTO bc2c6ebd81 Revert "Check tags with ChangeTags::canCreateTag"
This reverts commit 5e2e4849b3.

Change-Id: Ic581537972801b68636dffc1962848f78128701c
2017-05-09 12:09:39 +00:00
Matthew Flaschen 5e2e4849b3 Check tags with ChangeTags::canCreateTag
These are also user-provided tag names, so should be checked with
ChangeTags::canCreateTag, which is intended for that purpose.

This check also applies on edits.

Bug: T164133
Change-Id: Iaf161d538f225a86c7abf8a8a347de9169d781bf
2017-05-08 20:31:58 -04:00
L10n-bot 0aaae3eec3 Merge "Localisation updates from https://translatewiki.net." 2017-05-05 20:26:27 +00:00
Translation updater bot f519ac0881 Localisation updates from https://translatewiki.net.
Change-Id: Id89d20d3ace6159059974da10557c2d9e08fec39
2017-05-05 22:26:05 +02:00