Commit graph

3387 commits

Author SHA1 Message Date
Matěj Suchánek de1c2af0e1 Unify global filters decoding across AbuseFilter
Change-Id: I3c97c24b5d0e4818b36e233a8bb3b205cbb2c7d0
2017-01-02 12:14:02 +00:00
jenkins-bot 1975e2ab13 Merge "Add GENDER to the message logentry-abusefilter-hit" 2017-01-02 08:04:57 +00:00
Translation updater bot fee15a2e02 Localisation updates from https://translatewiki.net.
Change-Id: Iabdff84db11d113dd69351e00deec24dd77026df
2017-01-01 09:49:10 +01:00
Translation updater bot 1b711e98f2 Localisation updates from https://translatewiki.net.
Change-Id: I8f044f410df2b72980da177fdbd1f9a3d742dc4d
2016-12-29 10:19:30 +01:00
Translation updater bot 4e455aa395 Localisation updates from https://translatewiki.net.
Change-Id: Ia5f84b1216b97c863cfe3995438933a4db18f85a
2016-12-28 10:43:52 +01:00
jenkins-bot 1361ee598a Merge "Fix typo in abusefilter-edit-builder-vars-user-age" 2016-12-27 19:49:04 +00:00
jenkins-bot aafb50092a Merge "GENDER should be used for "triggered" in AbuseFilter log messages" 2016-12-27 18:18:19 +00:00
Matěj Suchánek c9952bf491 Fix typo in abusefilter-edit-builder-vars-user-age
Change-Id: I8ac030d5e620d4d6061c7360d61a5fe6c817e13c
2016-12-27 15:50:24 +00:00
Translation updater bot e060dfe72f Localisation updates from https://translatewiki.net.
Change-Id: I95901ab7de9dd369d60e3eec7a0557e39fae5d87
2016-12-26 22:34:25 +01:00
Matěj Suchánek 9379a0c767 Add GENDER to the message logentry-abusefilter-hit
As far as I can see, this parameter is already supported.

Bug: T153607
Change-Id: If3eed341ef2f2e7bbad103c2738a7eae59886faa
2016-12-26 09:32:31 +00:00
jenkins-bot 2547b3cddc Merge "Allow users with abusefilter-view-private to read private filters via API." 2016-12-26 01:31:41 +00:00
jenkins-bot 5643d2ca12 Merge "Activate grunt-banana-checker" 2016-12-26 01:29:43 +00:00
Translation updater bot 7eda3f666a Localisation updates from https://translatewiki.net.
Change-Id: I6a423daeabf6c0b3547ac6311c029e4d4e9bad2b
2016-12-25 22:14:29 +01:00
Victor Vasiliev 5b14eb8a3f Allow users with abusefilter-view-private to read private filters via API.
Change-Id: I24331ffac06b058b80dee404f33986b2376e5560
2016-12-24 01:50:01 -05:00
Translation updater bot c6cc23ca14 Localisation updates from https://translatewiki.net.
Change-Id: I43ec464ac2b1e6ab679d6414b6acf0d8d0ca9dcf
2016-12-23 22:28:42 +01:00
Umherirrender 14758d316b Activate grunt-banana-checker
Change-Id: I1bffaa56d57ad243e5c2892c229b7b283f5a2484
2016-12-23 21:04:34 +01:00
jenkins-bot 5fdf27763b Merge "Properly use "the" article in AbuseFilter messages" 2016-12-23 17:00:51 +00:00
Translation updater bot 696e62041b Localisation updates from https://translatewiki.net.
Change-Id: I7a38105b54f18c4a48e18e61ae3cb4829519acb2
2016-12-22 22:49:05 +01:00
Huji Lee 2e97125dec Properly use "the" article in AbuseFilter messages
Bug: T152535
Change-Id: I83650b63068f616ad512d9c3ed4f79d1ad2e40aa
2016-12-21 21:47:32 -05:00
jenkins-bot bbd7cdbc95 Merge "Don't show red diff link" 2016-12-21 10:07:54 +00:00
Translation updater bot 63fd4584fd Localisation updates from https://translatewiki.net.
Change-Id: I0d858b56a26b3c6b220361d02bc4274d4a789ecf
2016-12-19 22:40:54 +01:00
Aaron Schulz 2d57141600 Move AbuseFilterVariableHolder up to /includes
This class is not for parsing logic or tree nodes

Change-Id: I07a499cc972c30fc249ec4de3250900a3b703443
2016-12-18 17:13:06 -08:00
Matěj Suchánek 0b1b87f85a Don't show red diff link
If the log entry refers to a non-existing page, the link is red. In
this case, the diff link only duplicates the main link.

Bug: T47948
Change-Id: I3f0e6e7dfbaa8cccbac8450162df97f4a58cccdc
2016-12-18 21:26:49 +00:00
jenkins-bot 06b8cae0d6 Merge "Move various classes to their own files" 2016-12-18 01:57:00 +00:00
Translation updater bot a3ae75ae80 Localisation updates from https://translatewiki.net.
Change-Id: I1efc5696495d11ccc820e4e8de7aa6055cec6b14
2016-12-17 22:18:13 +01:00
Aaron Schulz 9b1021b055 Move various classes to their own files
Change-Id: I5d418b3fa27aa6e04b9a680922e5eab2439ffb20
2016-12-17 11:40:10 -08:00
jenkins-bot af6e361f33 Merge "Don't show link to testing interface when the user cannot test filters" 2016-12-17 03:39:00 +00:00
Translation updater bot 42cd7668b3 Localisation updates from https://translatewiki.net.
Change-Id: Ia62c1e4a5156809071972a9744afa90036323091
2016-12-16 22:12:03 +01:00
Matěj Suchánek 0dca928f58 Don't show link to testing interface when the user cannot test filters
Clicking on this link only shows an error message unless the user can
edit filters.

Change-Id: Id912731e98f0f37b999d4a8e7ab190cd938825aa
2016-12-16 20:24:04 +00:00
Translation updater bot 3721431986 Localisation updates from https://translatewiki.net.
Change-Id: Iec80ee1feeea39b35c7779dd9404ffcbb6472daf
2016-12-15 23:11:43 +01:00
Translation updater bot 321896bcde Localisation updates from https://translatewiki.net.
Change-Id: Iad7dcf4f587250666d7adba468303e1f4b9b5b2e
2016-12-14 22:19:42 +01:00
Translation updater bot 43d2ccbc05 Localisation updates from https://translatewiki.net.
Change-Id: I0978e0149b4ab0882ea9b9fa74e764e98cf5d3b1
2016-12-13 22:39:05 +01:00
jenkins-bot e3b2c55b10 Merge "Make maintenance scripts use $this->requireExtension()" 2016-12-12 22:55:54 +00:00
pppery 66f52694a2 Make maintenance scripts use $this->requireExtension()
Bug: T152139
Change-Id: I9c3a6a186275b6554a761de8548bc16f8938d488
2016-12-12 22:42:00 +00:00
Translation updater bot 26dbb37fd9 Localisation updates from https://translatewiki.net.
Change-Id: Id553785deae7e1032396d3925404a51e4f9a40d7
2016-12-12 22:16:53 +01:00
jenkins-bot 9d9901efb5 Merge "AbuseLog should show a warning when log ID does not exist" 2016-12-12 20:15:26 +00:00
jenkins-bot db896921da Merge "Make more fields sortable and one conditionally" 2016-12-12 20:03:45 +00:00
Huji Lee 95d3300942 GENDER should be used for "triggered" in AbuseFilter log messages
Bug: T152872
Change-Id: I42ce0d741762e01d34590b334a70d30fceb877ce
2016-12-12 16:49:40 +00:00
Huji Lee 928b61e8c3 AbuseLog should show a warning when log ID does not exist
Bug: T152973
Change-Id: I2ccd1744a6b3e9a2ed89ef04c859cbe4f0a803df
2016-12-12 11:48:20 -05:00
Matěj Suchánek 95989575cc Make more fields sortable and one conditionally
Users can now sort filters by whether they are visible and which group
they belong to. Sorting by hit count is only possible if the user can
actually see it.

Change-Id: I516111f96b9ef0beaa0c04f902e03712591371d1
2016-12-12 14:21:05 +00:00
Matěj Suchánek 8d10972f93 Don't show hit count field if it's always empty
If the user cannot see hit counts, this field is always empty, so there
is no need to have it shown.

Change-Id: I27c8639f901a3c7fa686378a1205b2ddebb7d665
2016-12-12 14:19:04 +00:00
Matěj Suchánek 3e6605c94b Check whether user is allowed to see the hit count
Bug: T120562
Change-Id: I464fc4806b52327a58fddb54404f5869c8431194
2016-12-10 12:06:43 +00:00
Kunal Mehta 18d29ccc05 Don't access protected SpecialPage::getLinkRenderer()
It should be public but can fix that later...

Follows-up f4ddf5dd2.

Change-Id: Ia1f84226859e0ac170f4697cf40d682e36850712
2016-12-07 15:32:41 -08:00
jenkins-bot 0e201aa227 Merge "Replaced Linker::link() & Linker::linkKnown() with LinkRenderer" 2016-12-07 15:21:29 +00:00
Subin Siby f4ddf5dd23 Replaced Linker::link() & Linker::linkKnown() with LinkRenderer
All usages of Linker::link() and Linker::linkKnown() has been replaced with LinkRenderer

Bug: T149346
Change-Id: Id087fe2aeaae81445e83e020ef66b541d9da4060
2016-12-06 23:21:31 -08:00
Translation updater bot 50531fb9a8 Localisation updates from https://translatewiki.net.
Change-Id: If56a7b6fa5e682b12ec4f8dfa85c556ce2c3e8a5
2016-12-06 22:40:20 +01:00
jenkins-bot 11dc8d6495 Merge "Update for API error i18n" 2016-12-06 20:43:02 +00:00
Translation updater bot 4610df2099 Localisation updates from https://translatewiki.net.
Change-Id: Ib163d3568d95a56445b9573d25a31c1657b87d9c
2016-12-05 22:44:56 +01:00
jenkins-bot 003a861ae8 Merge "Consistently refer to actions in abusefilter-warning" 2016-12-05 15:50:34 +00:00
jenkins-bot 7e49b463e0 Merge "Properly escape abusefilter-log-linkoncontribs" 2016-12-04 11:17:34 +00:00