Commit graph

69 commits

Author SHA1 Message Date
Huji Lee a83b10c5ed Add option to block a user from editing their own talk page
Bug: T170014
Change-Id: I74b7fd2e036111583e8b69c355e7fb0c51fe67fc
2018-02-27 17:07:51 +00:00
Matěj Suchánek d19ced4cef Filter AbuseLog by the "impact" of the change
Users can choose whether they want to see entries
that changed the wiki or didn't (or they can apply
no filter).

Bug: T159061
Change-Id: I6cee9b001c26c4bbc837131781deef27d5e3ef1a
2018-02-24 15:25:50 -05:00
Matěj Suchánek 6f1e15c5ff Filter Special:AbuseLog by action taken by filters
Bug: T187971
Change-Id: I4c786ac312b9095f3055622677b78c2ce7be6b0c
2018-02-24 14:49:39 +01:00
MarcoAurelio 87aac2397f Add missing 'action-abusefilter-private-log' message
Used by MediaWiki to tell unauthorized users why they are not allowed to
view the AbuseFilter private details access log.

Change-Id: Ic6f8d82d377aa4b98048fd19e662e6ed3828c923
2018-02-15 16:46:06 +01:00
Translation updater bot aa21d18c2d Localisation updates from https://translatewiki.net.
Change-Id: I5e4cb3e6f4f9a156608cb853ff3522ca5e219a8d
2018-02-10 09:15:09 +01:00
jenkins-bot ac83ad1d90 Merge "Add contains_all and ccnorm_contains_all functions" 2018-02-09 18:08:35 +00:00
Daimona Eaytoy a0de056299 Add contains_all and ccnorm_contains_all functions
Added the contains_all function, with basically the same role as
contains_any but using logic AND instead of OR. Also added
ccnorm_contains_all, that is the same of ccnorm_contains_any but with
AND mode. Finally, fixed three wrong task IDs.
Co-authored with Valerio Bozzolan.

Bug: T21176
Change-Id: Ib0a8b783db6ce0d5db64771c8e0c70f0f8d13d36
2018-02-09 17:33:24 +01:00
Translation updater bot dcdce750ab Localisation updates from https://translatewiki.net.
Change-Id: I798d2cb55b4dc4343c99bb5c8b9fb39e40740e51
2018-02-07 22:17:14 +01:00
Huji Lee 146820185c Log accessing private information in abuse filter logs
Bug: T152934
Change-Id: I8049df3b2b9343a6877e9a306d2781d3f27ec657
2018-02-07 18:35:36 +00:00
Matěj Suchánek 10aea65219 Allow filtering AbuseLog in API by wiki
Bug: T113414
Change-Id: I833f223b160810d69f084ae4b060adbdd956aa83
2018-02-03 17:45:37 +00:00
Translation updater bot 395a311208 Localisation updates from https://translatewiki.net.
Change-Id: I0d0238bdaa70c9ae6699d417401a8f7cfe84d5e6
2018-01-13 22:14:58 +01:00
MarcoAurelio 59ff4aed5d Actually mark abusefilter creations as such in the AbuseFilter log
Bug: T178283
Co-Authored-By: Matěj Suchánek <matejsuchanek97@gmail.com>
Change-Id: I89776eff2fc420b1fe3e2c3b88671749fadb57b4
2018-01-12 17:03:13 +00:00
Daimona Eaytoy 4e20c933f4 Add get_matches function
Added the get_matches function to store a regex match.

Bug: T179957
Change-Id: I19366ebcaa4d0f007dd675a61c91457dde57f604
2017-11-13 17:32:45 +01:00
Translation updater bot 6a494fc073 Localisation updates from https://translatewiki.net.
Change-Id: I33351a19fa97c281a0ea42c3442f4fdb2839670b
2017-10-09 22:37:43 +02:00
Dayllan Maza 2bc8873c30 Add ccnorm_contains_any function
Normalize and search a string for multiple substrings

Bug: T65242
Change-Id: I4034c0054a6849babbf2d96ea13dc97d3660d5b4
2017-10-06 11:32:45 -04:00
Dayllan Maza 539884f428 Fix confusing warning message on throtthled filters
A confusing warning message was displayed when filters
have af_throttled = true. That message was replaced with a
new one reflecting the behavior that is actually ocurring and
how to solve it

Bug: T54525
Change-Id: I5c6e434249d5c9649eb2d7c5b16b9ecb1f530c8a
2017-09-10 01:26:24 -03:00
Translation updater bot ac9d7f1c60 Localisation updates from https://translatewiki.net.
Change-Id: I530fd5897e5cf65cadaec301fa3b75181d270096
2017-08-14 08:50:01 +02:00
matejsuchanek 3b29498f21 Migrate abusefilter/modify log
Bug: T32553
Change-Id: I7e33d1064329124755c77ffe6efbd5d572f43cb9
2017-08-12 10:00:42 +02:00
NoRandom 389995916c Allow searching for visible-only/hidden-only/both on abuselog entries
Bug: T153065
Change-Id: I44ca86ff8564328ae932ccad9675298b686dc6ab
2017-08-10 11:46:57 +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
Translation updater bot 1518636dc9 Localisation updates from https://translatewiki.net.
Change-Id: I6c80070350ad2b7880c368ef5ae8c462c49c376f
2017-05-23 22:39:08 +02:00
Matěj Suchánek 9e4f0a0944 Add GENDER support for 'abusefilter-log-linkoncontribs-text'
Bug: T159657
Change-Id: Ic9d4efa9a0f32396694b102ee8904166d8f7048a
2017-03-06 14:43:14 +00:00
Huji Lee 8f53126853 Remove the "flag the edit in the abuse log" checkbox
Bug: T154091
Change-Id: I40c3176127bb168672b376147bffcdbd2aaff237
2017-02-13 14:27:44 -05: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
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