Commit graph

46 commits

Author SHA1 Message Date
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
Translation updater bot a3ae75ae80 Localisation updates from https://translatewiki.net.
Change-Id: I1efc5696495d11ccc820e4e8de7aa6055cec6b14
2016-12-17 22:18:13 +01: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
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 f4687890a3 Localisation updates from https://translatewiki.net.
Change-Id: I4c9a3f747dc97de4bb4b88e7d1bbfe854dfbcb46
2016-11-29 22:18:04 +01:00
Brad Jorsch 4cbea0bcf7 Update for API error i18n
See Iae0e2ce3.

Change-Id: I09c564413f91e410bf9ba8336f65cb14d7105a07
2016-11-15 11:15:58 -05:00
Kunal Mehta 1e550ddda9 Allow filtering content model changes
This adds the new_content_model and old_content_model variables. The
latter will be an empty string upon page creation when there is no old
revision.

This also required adjusting the null edit detection to not treat
content model changes as null, as well as some other internal
refactoring.

Bug: T145489
Change-Id: I7c3385056751421ba22efb7d8d064981420e8819
2016-09-13 01:40:21 -07:00
jenkins-bot 9bc9f058f2 Merge "Add GENDER to abusefilter-revert-preview-item" 2016-06-25 15:31:41 +00:00
matejsuchanek 9f097e59db Add GENDER to abusefilter-revert-preview-item
Change-Id: I4fe0190238fc97409c18678a617a8f6a46d41bab
2016-06-04 15:07:40 +02:00
matejsuchanek 5357665db6 Support GENDER in two more log messages
Change-Id: I92085a291565bd76e3f983da3bb4dfdb253b8007
2016-06-04 14:41:37 +02:00
Translation updater bot 4232077625 Localisation updates from https://translatewiki.net.
Change-Id: Ie96677c7ce40ac94f463ebdd8cf63f2bc3d6c267
2016-04-26 22:25:11 +02:00
jenkins-bot 0ef2bd0dac Merge "Add $wgAbuseFilterProfile to enable filter profiling" 2016-04-11 12:56:33 +00:00
jenkins-bot e8b947d3c1 Merge "Revert "Removed filter profiling using $wgMemc"" 2016-04-11 12:56:30 +00:00
Translation updater bot 6d9d9e3a7c Localisation updates from https://translatewiki.net.
Change-Id: I61166b04cedde3bb92774ea2bef89de3190fcec6
2016-04-10 19:55:22 +02:00
Bartosz Dziewoński 337cad30d9 Add $wgAbuseFilterProfile to enable filter profiling
Follow-up to b60829a60c.

I'll fix up message translations on Translatewiki when this is merged.

Bug: T132189
Change-Id: I1ecaedd7489b264ed621309b6fbfb63b9287a437
2016-04-08 16:53:45 +00:00
Bartosz Dziewoński 39261ff5cd Revert "Removed filter profiling using $wgMemc"
This reverts commit afb78deb84.

I'll guard this behind a global and fix up the localisation messages
in a separate commit. This is a straight revert.

Bug: T132189
Change-Id: Iff4aa6d7d543db8f47c5f81f3c206dafcd5373dc
2016-04-08 16:53:34 +00:00
Bartosz Dziewoński 6298c91bde Remove executable bit from files
find . -perm /111 -type f | grep -v .git | xargs chmod ago-x

Change-Id: I1e5994ba0a74eafdeff262017f90d4c0f09f3ab4
2016-04-08 14:00:52 +00:00
Bartosz Dziewoński 8858cdd42a Add more file_* variables for file metadata
* file_mime
  The MIME type of the file, e.g. 'image/png'.

* file_mediatype
  The media type of the file, one of 'UNKNOWN', 'BITMAP', 'DRAWING',
  'AUDIO', 'VIDEO', 'MULTIMEDIA', 'OFFICE', 'TEXT', 'EXECUTABLE', 'ARCHIVE'.

* file_width
  Width of the image in pixels, or 0 if it's inapplicable (e.g. for
  audio files).

* file_height
  Height of the image in pixels, or 0 if it's inapplicable (e.g. for
  audio files).

* file_bits_per_channel
  Bits per color channel of the image, or 0 if it's inapplicable (e.g.
  for audio files). The most common value is 8.

Bug: T131643
Change-Id: Id355515a18d3674393332c0f4094e34f9f522623
2016-04-04 23:40:03 +02:00
IoannisKydonis 5eb9a529e9 Clarify AbuseFilter system messages
Thread:
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Apihelp-abusefilterunblockautopromote-example-1/ksh

Change-Id: Idc7609b6a7e0c38169694e76aba737f11350b9a6
2016-01-20 22:51:27 +02:00
Translation updater bot a4c4ab7c59 Localisation updates from https://translatewiki.net.
Change-Id: Ibea2d0f7e760c10c3af6e5e7fb673d36e4384ebc
2015-11-11 21:51:15 +01:00
Translation updater bot be13a6e4b3 Localisation updates from https://translatewiki.net.
Change-Id: I1dd865ec4dfe859c007e231f8336add6c5fab131
2015-09-01 21:42:49 +02:00
Legoktm fe8cdc35ca Revert "Add "Last hit" timestamp column to Special:AbuseFilter list view"
This reverts commit 77d161f65c.

Bug: T106798
Change-Id: I265ae108aecbacfcce808ad21e18be4e0eef750e
2015-07-24 10:11:57 +00:00
glaisher 77d161f65c Add "Last hit" timestamp column to Special:AbuseFilter list view
It'll show the timestamp at which the filter was last triggered.
If there is no hit or if the user does not have the proper permissions,
it'll be blank.

Bug: T93564
Change-Id: I435af5caf457c548fa0737ed226d7f8640ff25d8
2015-07-17 10:40:45 +00:00
Translation updater bot 8e5c4d7b9e Localisation updates from https://translatewiki.net.
Change-Id: If345f47016fe2ae8c23ff223c94256e42ee17d22
2015-05-19 22:18:12 +02:00
Aaron Schulz afb78deb84 Removed filter profiling using $wgMemc
* This is very slow as there can easily be hundreds of filters,
  each doing 6 memcached queries. Xenon flamegraphs show a lot
  of time spent in this method, slowing down editing.

Change-Id: I31e4502bbd45cc284db3cd89eb34ad365c59905b
2015-05-19 08:14:33 -07:00
Translation updater bot 482f8de785 Localisation updates from https://translatewiki.net.
Change-Id: I8446219905a9f5a3b1f63109022f1d3e0d0eda1e
2015-05-18 22:08:03 +02:00
Translation updater bot 5533ed8dba Localisation updates from https://translatewiki.net.
Change-Id: I0f9edad0629bf25ab7e858bdbeba577ef9ed781c
2015-03-23 21:44:24 +01:00
se4598 6d316690a9 add filter option for local rules only on central wiki
only affects filter list on central wiki. You can now select to see
local only, global ones or both filters.

Bug: T78495
Change-Id: Idb37aa4f5c3515e0295b74a43176edd2c62508f8
2015-02-17 09:00:44 +01:00
Kunal Mehta 68639158f8 Add file_size variable
To be able to filter on extremely large uploads

Change-Id: Id4c4c0f900ba6b91579211b8412ee194f09f6118
2015-01-07 20:56:53 -08:00
jenkins-bot c6fee7e920 Merge "Add i18n for API module help" 2014-11-10 22:09:27 +00:00
Translation updater bot 763ff4ea8f Localisation updates from https://translatewiki.net.
Change-Id: I13308e402158ea283682a6583fc27001aa58a3ae
2014-11-02 21:56:07 +01:00
Brad Jorsch 51e5a28f24 Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:37 -04:00
Translation updater bot 0bf22eeac5 Localisation updates from https://translatewiki.net.
Change-Id: I7316b8327f70ba8fb4ac106f514708979d8da582
2014-10-12 22:13:56 +02:00
jenkins-bot ff8dc48d2e Merge "Add new variable article_first_contributor" 2014-10-04 13:49:56 +00:00
Translation updater bot bfc1197418 Localisation updates from https://translatewiki.net.
Change-Id: I7faa642ba21199f889d2a34652ba07917df092a9
2014-08-23 21:48:52 +02:00
Translation updater bot a47c698bb3 Localisation updates from https://translatewiki.net.
Change-Id: I14d0b26674755e0901b4f24474a08128de306e02
2014-08-12 21:32:36 +02:00
Liangent a86019d2d3 Add new variable article_first_contributor
Bug: 67793
Change-Id: I725b7150de52bdc6518f73a6302f850e8d596824
2014-08-11 11:51:44 +00:00
helderwiki 20dabefe22 Improve error handling for HTTP requests
The API provides more details about HTTP errors, so show these to
the user instead of a generic "An unknown error occurred."

Bug: 68767
Change-Id: I3188b9729c815a07c65a7dbef4d40deebe29b87d
2014-08-02 11:56:32 +00:00
Kunal Mehta b40416c037 Add user_rights variable
Allows for more broad filters to check for a given right, rather
than having to check against multiple groups, which becomes useful
with global groups.

Bug: 60191
Change-Id: I95b5477d6d868d4b83bcd98e779e6d535aa755b3
2014-07-06 22:18:57 -07:00
huji edabcbc6aa Separate parameters for the filter ID and localized filter name in AbuseFilter
Bug: 67254
Change-Id: I0343971b8be6984820ddf861a76132c9dd064829
2014-06-28 15:23:43 -04:00
Translation updater bot f0325d3a92 Localisation updates from https://translatewiki.net.
Change-Id: Ic65df4dfff8fc91a55046a3c4ee8d9ddd806815a
2014-06-22 19:26:59 +00:00
Translation updater bot eacb4fe1c3 Localisation updates from https://translatewiki.net.
Change-Id: I8cb884cbb808e82d2cfb3c0c760161139f914b8b
2014-04-16 15:26:32 +00:00
Translation updater bot 3b0e94e864 Localisation updates from https://translatewiki.net.
Change-Id: I38116528f61bfbcbfa827f6289d8039d922cbeb1
2014-03-29 21:12:21 +00:00
Translation updater bot 5700f0246a Localisation updates from https://translatewiki.net.
Change-Id: Idde8f0de869a9f834e2a269594ad31ea592ce5ab
2014-03-28 19:23:03 +00:00
Siebrand Mazeland acb351e8af Migrate to JSON i18n with B/C
Change-Id: Ic20925f91570b742f30dc354a7e0e39d4d27edfd
2014-03-25 19:15:03 +01:00