Commit graph

3614 commits

Author SHA1 Message Date
Antoine Musso 3329e01d5d Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 12:22:41 +02:00
Translation updater bot c0e54ee65d Localisation updates from https://translatewiki.net.
Change-Id: I6781d01bf82d697883ff3cf0d13b5d8b20b07208
2017-07-26 22:22:14 +02:00
Translation updater bot 134d977879 Localisation updates from https://translatewiki.net.
Change-Id: If2daabdd9a89f72728dfa513c3f02db4e878e5ef
2017-07-24 22:45:41 +02:00
Kunal Mehta 3a58875637 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment

Change-Id: I0874c547ef2bc8a7c3fa4ca72738aa3320f2bdbe
2017-07-23 00:03:40 -07:00
Translation updater bot a294d9059f Localisation updates from https://translatewiki.net.
Change-Id: Ic936509055bd82956d692e1393b82e61e2990a1f
2017-07-21 22:24:28 +02:00
Translation updater bot f7edb0bc81 Localisation updates from https://translatewiki.net.
Change-Id: I3fe83c3821eab8c1db8cfb0b81c8cc64df9fa873
2017-07-20 22:32:07 +02:00
Translation updater bot dea0109997 Localisation updates from https://translatewiki.net.
Change-Id: If88e69e9a2424b1cb74cddb4440af4d79ebd1a5c
2017-07-19 22:21:52 +02:00
jenkins-bot efa2e646c4 Merge "Remove all CSS classes from indicator to avoid collision" 2017-07-19 19:15:59 +00:00
Translation updater bot bfcaab0ef4 Localisation updates from https://translatewiki.net.
Change-Id: I40d1f6df45a969aa9ddddfc90e33fde8b6013054
2017-07-18 22:33:42 +02:00
Translation updater bot 75b34bc68c Localisation updates from https://translatewiki.net.
Change-Id: I7b9ebd0c23fb34e34cfb69194d14ff9559790970
2017-07-17 22:33:25 +02:00
Translation updater bot 42aba4e521 Localisation updates from https://translatewiki.net.
Change-Id: I825262a57d86a282bbc10656d35103d920bf2564
2017-07-16 22:22:20 +02:00
Translation updater bot d78b995687 Localisation updates from https://translatewiki.net.
Change-Id: Icca12a0e5c4c0cd2afde24f29a6c492dccafc6f9
2017-07-15 22:27:49 +02:00
Translation updater bot a764efdb6b Localisation updates from https://translatewiki.net.
Change-Id: Ibda96bcf63da2b019f4f1a664d5bca90d337d9b0
2017-07-14 22:22:19 +02:00
Matěj Suchánek 20c10c8159 Remove all CSS classes from indicator to avoid collision
When you tested filter against the change (with failure) and then
checked the syntax (with success), the new CSS class was overriden by
the old one, that's why the red X stayed.

Bug: T129753
Change-Id: I34cdba72f0b0e24e97083ba6b47554d0c8b826cf
2017-07-14 17:55:19 +00:00
Matěj Suchánek 014f0adda1 Fix the order of conditions when choosing the correct method
It seems that move actions have rc_this_oldid set. rc_log_type
should have higher priority.

Bug: T170586
Change-Id: I9bb4ea599f12ef01fad823ac3232330966b0d281
2017-07-13 17:31:19 +02:00
Translation updater bot 36e010721b Localisation updates from https://translatewiki.net.
Change-Id: I8efed59ef767bac2a1824063c52d1ede5933749f
2017-07-11 22:37:20 +02:00
Translation updater bot 740305a66f Localisation updates from https://translatewiki.net.
Change-Id: I46555174d20a42d35cf15dfe01c0ce40a25d7c4c
2017-07-10 22:28:10 +02:00
Umherirrender 1a58507870 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I5f37c45d748d5f0da21aceaef32cc89367e312ff
2017-07-08 20:49:30 +02:00
Translation updater bot 56ad7ff937 Localisation updates from https://translatewiki.net.
Change-Id: I5881d65ddc7c6613df35e4f169a1bcfb0cc45524
2017-07-07 23:56:26 +02:00
jenkins-bot ee40953288 Merge "Make "Description" edit field bigger when editing AbuseFilter" 2017-07-06 00:49:26 +00:00
Translation updater bot 6bdce3baa2 Localisation updates from https://translatewiki.net.
Change-Id: Ic3c0465a6fa92afa12d326e1db1bbe796e2d3799
2017-07-05 22:16:27 +02:00
Translation updater bot fe55a111e0 Localisation updates from https://translatewiki.net.
Change-Id: I6d791235b6621ec0afbfaf87c29875239f0a2000
2017-07-03 22:24:43 +02:00
Translation updater bot 4468e457ef Localisation updates from https://translatewiki.net.
Change-Id: Ie6c65918a88bb7abcddc0592e8a15add221befe2
2017-07-02 22:24:58 +02:00
Translation updater bot 7415ebd2e9 Localisation updates from https://translatewiki.net.
Change-Id: Ia50041f6eeaeefca22ab7736fd420eda671b7fd8
2017-07-01 22:15:03 +02:00
Translation updater bot b92d327577 Localisation updates from https://translatewiki.net.
Change-Id: I75d0949acd94ed1292eee8720b0162d620ff605b
2017-06-30 23:07:31 +02:00
Translation updater bot a002eadd42 Localisation updates from https://translatewiki.net.
Change-Id: I17c9de80591fc854a8552192fdf216977b30160d
2017-06-28 22:38:38 +02:00
Translation updater bot 030125b9b2 Localisation updates from https://translatewiki.net.
Change-Id: I0f6a0eacaa971b1bb18affa3b4459254c340a95c
2017-06-27 22:14:37 +02:00
Translation updater bot 510830d793 Localisation updates from https://translatewiki.net.
Change-Id: I73d756e197f42f05190ba57a6872cf64d4a60a17
2017-06-26 22:38:16 +02:00
jenkins-bot c76aae7bc7 Merge "Use mw.Api.parse() for previewing warnings" 2017-06-26 19:23:34 +00:00
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