Commit graph

4736 commits

Author SHA1 Message Date
jenkins-bot cdad5f2a28 Merge "Add option to turn off logging IPs" 2018-03-03 23:33:15 +00:00
Dan Mattern fd3987baee Add option to turn off logging IPs
Adds option to stop logging IPs in afl_ip in the abuse_filter_log table.
Introduces a new global variable: $wgAbuseFilterLogIP

Bug: T187169
Change-Id: I1615ba6949c9f8bcdd6ee6aef580c87a05f43e6a
2018-03-03 23:16:24 +00:00
Translation updater bot 5f55b7d068 Localisation updates from https://translatewiki.net.
Change-Id: Ib85a9185601940b0e0fd4186024b794f17d181f6
2018-03-03 22:24:53 +01:00
jenkins-bot 3a86dff502 Merge "Do not attempt to process tags if tagging is disabled" 2018-03-03 15:52:15 +00:00
rosalieper b1e2e158c8 Do not attempt to process tags if tagging is disabled
added a check for $wgAbusefilterActions['tag']

Bug: T179249
Change-Id: I03cf318d63e70c8c7cc7c91d7d9347f3f6cbbea0
2018-03-03 14:42:17 +01:00
Translation updater bot 528856cb72 Localisation updates from https://translatewiki.net.
Change-Id: I920122529718b8c244ddd8bfc8864c963a0451d8
2018-03-02 22:30:46 +01:00
Matěj Suchánek 7dfe4bfcfd Change message transformation method
The argument needs to be HTML safe.

Change-Id: Ifb0009feb9fdb40679bede917a53d52171a22166
2018-03-02 19:23:28 +00:00
jenkins-bot dda156d5e6 Merge "Wrap the throttled warning in a warningbox div" 2018-03-02 15:58:00 +00:00
James D. Forrester 1d348e148e Avoid calls to deprecated wfSetupSession, $_SESSION, and session_id
Bug: T124371
Bug: T162909
Change-Id: I3ac6a858f39282392631474b29251f090eff9040
2018-03-01 14:44:46 -08:00
Translation updater bot fb8a3b4390 Localisation updates from https://translatewiki.net.
Change-Id: Iefefc863a1db07bba65a4d235c0f186394111200
2018-03-01 22:41:34 +01:00
Translation updater bot 1c46161912 Localisation updates from https://translatewiki.net.
Change-Id: If699bcee819287832c9e09e4b8f1d610eabeb8b7
2018-02-28 22:27:08 +01:00
Translation updater bot 91d5dfec8c Localisation updates from https://translatewiki.net.
Change-Id: Ibe939e91e322e97f2cdde70cce13801a914b1624
2018-02-27 22:25:19 +01:00
jenkins-bot 030de289f4 Merge "Add option to block a user from editing their own talk page" 2018-02-27 20:12:30 +00:00
Huji Lee 43530957e7 Better order of form elements (dropdowns together, filter ID last)
Bug: T159061
Change-Id: I7ea1d30f4ed57f014b7df43fa04957b1348428e6
2018-02-27 17:09:17 +00:00
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
Translation updater bot 24a2518f02 Localisation updates from https://translatewiki.net.
Change-Id: I53513a4fce6a620fdd76f3f844be0172b088f1df
2018-02-26 22:20:07 +01:00
Translation updater bot 3b04981f72 Localisation updates from https://translatewiki.net.
Change-Id: I514f6cf725c7af64c74145e6b8cf12dfa14edf84
2018-02-25 22:33:35 +01:00
libraryupgrader 41abf10087 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Ib7fe9da3e3768891f06de00d9cc864f8e1cf7d21
2018-02-25 06:15:43 +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
Matěj Suchánek 2ec2868ffd Remove unused argument
Change-Id: I0429f8227293790195d314fc4560f0aa6af7ba7f
2018-02-24 11:33:10 +00:00
Translation updater bot bdf81c1467 Localisation updates from https://translatewiki.net.
Change-Id: I49124ebb8595c17a797fe33e1623094e8e71d080
2018-02-23 23:01:07 +01:00
Translation updater bot 9177569d58 Localisation updates from https://translatewiki.net.
Change-Id: Ifb8ffdecd3b1463de9650c5c51a24141a21d1aa8
2018-02-22 23:21:35 +01:00
Daimona Eaytoy c7d87182b4 Wrap the throttled warning in a warningbox div
Currently, the message informing that some actions have been disabled is
quite impossible to notice at a first glance, since it's a bit confused
with other form elements. However it actually is a warning and needs to
be treated as that.

Change-Id: I0d851333f8da200fb0b9b0c7d05ccd1f63e9e948
2018-02-21 18:30:49 +01:00
Translation updater bot c411452ceb Localisation updates from https://translatewiki.net.
Change-Id: Id8803ff622d597752a3e718259a1ae595f25a920
2018-02-20 22:28:35 +01:00
Translation updater bot f5de7846cd Localisation updates from https://translatewiki.net.
Change-Id: If0e5120542b282fcb5997d1e0079835937618148
2018-02-19 22:25:16 +01:00
Translation updater bot 384891be7b Localisation updates from https://translatewiki.net.
Change-Id: I929d6e269b74967cf45817024bb9549909f0f58d
2018-02-18 22:40:05 +01:00
Translation updater bot b0ba7060c7 Localisation updates from https://translatewiki.net.
Change-Id: Iad253b4fc322c5104377cb57d14c8f3fa1894036
2018-02-17 22:27:10 +01:00
libraryupgrader bdd568da57 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I2e97091d34be7070a37d2471e52e30b034cdf34d
2018-02-17 17:35:27 +00:00
African Hope a569480b6b Update minus-x from 0.2.1 to 0.3.0
Change-Id: Ie41fed055c0e3260eb58ef4907fc29eaa21243d6
2018-02-17 14:51:28 +00:00
Translation updater bot 8dfe2ec16c Localisation updates from https://translatewiki.net.
Change-Id: Iff47324b4af2feb26da3a1bb640bddeb33e4bb91
2018-02-16 22:28:45 +01:00
Jeff Janes d7fccb57ed PostgreSQL: Add missing columns for AbuseFilter
Change I758795f01eaf3ff56c5720d660cd989ef95764a7, first released
in 1.20, added columns to AbuseFilter tables for MySQL, but not for
PostgreSQL.

This adds those columns for PostgreSQL, both for the installer and
for the updater.

Combined with already-merged change 192002, this change closes
bug T89514.

Bug: T89514
Change-Id: Ie33a5a932ffd85fa8a4111b949bd0a4d07a2af91
2018-02-16 19:26:34 +01:00
Aaron Schulz 8d40f43a50 Fix some minor IDEA code warnings
Change-Id: Ia7855906c8993ccea6127f2144b308179e669b3a
2018-02-15 22:54:25 +00:00
Translation updater bot 512eaa40b4 Localisation updates from https://translatewiki.net.
Change-Id: I8b0027447b89a1ae50ff6cbe223a72a075df5ead
2018-02-15 22:46:56 +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
Matěj Suchánek 3f34308f96 Tag actions which hit the condition limit
When an action reaches the limit, the remaining filters are not executed.
But there is no way find out which one it was.

Bug: T71492
Change-Id: I28fac76d4e9ca341bed25cd35e1249b19586b773
2018-02-15 10:06:08 +01:00
libraryupgrader de9b8638be build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I6eb54195a53ccb34f8f183ed0eba1dfb48750c0d
2018-02-15 08:24:34 +00:00
Translation updater bot 748e11e904 Localisation updates from https://translatewiki.net.
Change-Id: I6fe0d97b5eaa2cc3abcb4cc8ab1fa2bd1253768f
2018-02-14 22:30:20 +01:00
Translation updater bot 421f4dcae1 Localisation updates from https://translatewiki.net.
Change-Id: I3e90a3983a66fcb79a70ad67905512dcb53a7821
2018-02-13 22:25:07 +01:00
Jayprakash12345 4f176dad83 Up at-ease calls in extensions
Bug: T187037
Change-Id: I4efbbbd1929baeb0410d820eb2a91c3d3c027e9c
2018-02-12 10:31:55 +00:00
Translation updater bot 3e01f8523d Localisation updates from https://translatewiki.net.
Change-Id: Ie1d89503e2cc0eeec5f598e650ca0d34569e702d
2018-02-12 09:23:27 +01:00
Translation updater bot 8e26712bb1 Localisation updates from https://translatewiki.net.
Change-Id: I1c3f6e9a1985e73f3f9155015d0a6ad025886a1f
2018-02-11 10:41:53 +01:00
James D. Forrester 72cf4e6261 build: Bump devDependencies to latest
grunt                       1.0.1  →  1.0.2
 grunt-banana-checker        0.5.0  →  0.6.0
 grunt-jsonlint              1.0.7  →  1.1.0
 grunt-stylelint             0.6.0  →  0.9.0
 stylelint                   7.8.0  →  8.2.0
 stylelint-config-wikimedia  0.4.1  →  0.4.2

Change-Id: Iad57f3b5020525fa6821e9316a1186fd931583d3
2018-02-10 21:00:53 +00:00
Matěj Suchánek 35373155a1 Select only needed columns in queries
Change-Id: I6338906eede533fda76ce96fe10b9c4de314135c
2018-02-10 20:35:05 +00:00
Huji Lee 8ca391c8e0 Correctly reference the "Abuse Filter" extension in maintenance scripts
Bug: T186928
Change-Id: I415f39aa618a6148ad29a3fb4b059aadbfd63da5
2018-02-10 16:13:41 +00:00
Daimona Eaytoy f0cf1f227f Fix wrong name in i18n
In Ib0a8b783db6ce0d5db64771c8e0c70f0f8d13d36 I misspelled the name of a
function in i18n, resulting in a duplicate.

Change-Id: I8547a3d8f1ef29713c5cd957d99c47b3e3daa2e3
2018-02-10 11:35: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 b74c12ecc0 Merge "API: Fix "Undefined index: wiki" warnings" 2018-02-09 20:13:52 +00:00
Kunal Mehta 2633839630 API: Fix "Undefined index: wiki" warnings
Bug: T186914
Change-Id: I7e9d5524302f5f90d0e82f0f4d41a542e2990ed5
2018-02-09 12:00:07 -08:00
jenkins-bot ac83ad1d90 Merge "Add contains_all and ccnorm_contains_all functions" 2018-02-09 18:08:35 +00:00