Commit graph

1918 commits

Author SHA1 Message Date
Translation updater bot 09dd46ed4b Localisation updates from http://translatewiki.net.
Change-Id: I2936ab3d5de8f04d1897ac6e9f3132f03e595ebd
2012-12-20 20:40:02 +00:00
Marius Hoch 5a2d539403 Add a hooks.txt to AbuseFilter
Change-Id: Id0b03816ab247bf8255687338ac2652a598ba2ab
2012-12-20 03:45:14 +01:00
CSteipp 37d05a77d3 Merge "(bug 42802) Let the client specify multiple filters for list=abuselog" 2012-12-19 20:23:20 +00:00
Translation updater bot 254d56c053 Localisation updates from http://translatewiki.net.
Change-Id: Id2ae02c41842fd1aeb7a405cb6ec7e995144c4e7
2012-12-19 19:55:53 +00:00
jeblad 68ecb6f985 (Bug 42064) Add a hook to AbuseFilter
The hook 'AbuseFilter-interceptVariable' can be used
for intercepting any request to recalculate a variable,
and if a handler is returning false the later code
will be skipped. That makes it possible to avoid using
content if the content model is wrong, as it could be
for a Wikibase entity.

The hook uses the same arguments as the hook
'AbuseFilter-computeVariable', thereby making it simple
to move handlers around.

The arguments to the hook are
@param string $method
@param AbuseFilterVariableHolder $vars
@param array $parameters
@param AFPData|array|int|mixed|null|string &$result

Patchset 2: Fix for arg 1 to the hook, it got $this
	instead of $this->mMethod

Change-Id: I4944ea612369d6f96319e24c96d97cf9739358c7
2012-12-19 10:13:31 +01:00
CSteipp 99f89ec50c Merge "(bug 42814) Fix the visibility of action=query&list=abuselog" 2012-12-19 01:20:04 +00:00
Krenair a0bf987aff (bug 42802) Let the client specify multiple filters for list=abuselog
Change-Id: I9d06186aea207896bdb354d0e86ee35632fc2090
2012-12-19 01:27:02 +01:00
Kunal Mehta a5658f6004 (bug 42819) AbuseFilter API does not give diff information
Change-Id: Ia5075c241b95e28ad6371df9e82fc42cd51136b4
2012-12-19 01:14:23 +01:00
Marius Hoch ad9f60a9d3 (bug 42814) Fix the visibility of action=query&list=abuselog
Made prop=details invisible for hidden filters if the current
user isn't allowed to see that. Visibility should match the web
interface now.

Change-Id: I2cd682a2ec298473e5398fbf20d850b710f4e93a
2012-12-18 23:02:16 +01:00
csteipp 7a21a8f76a (bug 42814) Fix AbuseLog API permissions
Match the API to how Special:AbuseLog prevents unprivileged users from
seeing the filter number that triggered an action, when the filter is
private.

Change-Id: Iff352a0a6dbfeaa05f9272af927119ba1bb2194d
2012-12-18 22:48:28 +01:00
Translation updater bot a4a3f4aa05 Localisation updates from http://translatewiki.net.
Change-Id: Id43564fd28bb75ee678cc0d9545b11c0b87aafe0
2012-12-18 20:33:33 +00:00
Hoo man fb7a3ee583 Merge "(bug 42816) Run the same permissions checks for list=abuselog as Special:AbuseLog" 2012-12-18 19:43:32 +00:00
Hoo man 7a3d7a9c69 Merge "(bug 34946) Make afl_user_text availible as $9 for log entries" 2012-12-18 19:24:08 +00:00
Hoo man 253812a2f4 Merge "(bug 22548) add boolean user_blocked variable" 2012-12-18 19:09:32 +00:00
Translation updater bot 31e7ac7205 Localisation updates from http://translatewiki.net.
Change-Id: I0a092e920bd8c1bd2ba07875d1bcefbd3a4caff9
2012-12-17 21:23:35 +00:00
Translation updater bot 66db1b8794 Localisation updates from http://translatewiki.net.
Change-Id: I7ae4f548581bb2ffa5fbf28b2305c392bcc8f9b8
2012-12-16 20:46:21 +00:00
Hoo man c99f99a755 Merge "Add option to have private filters notify UDP/RC (default: disabled)" 2012-12-16 16:10:52 +00:00
Kunal Mehta f97df950d7 Add option to have private filters notify UDP/RC (default: disabled)
Change-Id: I7e54f1da9f01634791316e613e79b2b7740f9760
2012-12-16 17:09:30 +01:00
Kunal Mehta d87d77db3f (bug 34946) Make afl_user_text availible as $9 for log entries
This would allow for external lookup tools to be linked in the log entry itself

Change-Id: Ia484ad2aedf22a6a22172e6f752165cc0cab4009
2012-12-16 04:21:13 -06:00
Translation updater bot 608bbc9fba Localisation updates from http://translatewiki.net.
Change-Id: Ieee82565e924391711d1305cbf8ce8fb4ec16f94
2012-12-15 23:52:30 +00:00
Translation updater bot 5652ce78e4 Localisation updates from http://translatewiki.net.
Change-Id: I4fa6ef35f7c81428cc12b5aa05c5952b534a8094
2012-12-14 20:34:16 +00:00
Kunal Mehta 71a3679553 (bug 42820) Abusefilter log makes "contribs" link blue even if user has 0 edits
Change-Id: I9f3c35f35a8923e6713caee5b60773ff2de73560
2012-12-14 08:21:14 -06:00
Kunal Mehta 2b01494cfc (bug 22548) add boolean user_blocked variable
Change-Id: I8b61ce42338596a38e411d6023c8f7ff963641a1
2012-12-14 04:32:37 -06:00
Ori Livneh 90791cb24e Fix class name
Change-Id: If300aad2c3acf4d007e80a11158419c315c800e4
2012-12-13 15:59:54 -08:00
Translation updater bot 03e62952bc Localisation updates from http://translatewiki.net.
Change-Id: I98fb55f8b494843d0023c3ebdf2c41b840336e44
2012-12-13 20:26:07 +00:00
Kunal Mehta 578bc116e0 Don't send private filter hits to IRC/UDP
Change-Id: I433aa0d92f7bf805ea27eaf235909065e4d478a7
2012-12-13 04:29:16 -06:00
Translation updater bot d23d8bed76 Localisation updates from http://translatewiki.net.
Change-Id: Id6b4a02f6aa23bd21d113567b5154b8466010b3d
2012-12-12 21:11:20 +00:00
Translation updater bot 09d7b30370 Localisation updates from http://translatewiki.net.
Change-Id: I5ddcc77323b3f0db281ca27a8796fd1ea621bc68
2012-12-11 22:50:54 +00:00
Krenair 7c85b208c5 (bug 42816) Run the same permissions checks for list=abuselog as Special:AbuseLog
Change-Id: I763db9fecfdb994e95d2cb747b0ded6c8700e505
2012-12-10 21:19:50 +00:00
Translation updater bot 7efff27716 Localisation updates from http://translatewiki.net.
Change-Id: I07d509c2d93294659bbafa7f3842aade06da9065
2012-12-10 20:27:30 +00:00
Translation updater bot 2ff71df7c1 Localisation updates from http://translatewiki.net.
Change-Id: I7cb2c873f0ab712c9c81a794bb49f4ad13fb64ae
2012-12-09 20:23:06 +00:00
Translation updater bot de77ae24f9 Localisation updates from http://translatewiki.net.
Change-Id: Ibe3685fa2ca29b7f14f532757b33e1cef3ec38e1
2012-12-07 21:51:09 +00:00
Translation updater bot d6444fae14 Localisation updates from http://translatewiki.net.
Change-Id: Icb0c933aa10a525fe522921b5802274eb279c717
2012-12-05 20:52:17 +00:00
Translation updater bot 4cb5585201 Localisation updates from http://translatewiki.net.
Change-Id: Ied2eba2a61cd306e9e180f0be56819dc9c8be56a
2012-12-04 21:03:22 +00:00
Translation updater bot 0c00541d74 Localisation updates from http://translatewiki.net.
Change-Id: I1f4208a31b95f2efc5620521b16d7f9b7effbc55
2012-12-02 20:36:26 +00:00
Translation updater bot 524a01fc95 Localisation updates from http://translatewiki.net.
Change-Id: I476b00274eecb041add10ca7d01f7f3b1540d04d
2012-11-30 21:11:33 +00:00
Translation updater bot af7f3e933c Localisation updates from http://translatewiki.net.
Change-Id: Ifb44364fcc4201b0f4d069fb1f91de9f16bc3726
2012-11-29 20:52:40 +00:00
Translation updater bot a91abdfbfa Localisation updates from http://translatewiki.net.
Change-Id: Ic19de97844a06f9b8b12dfde42342be53efe20cd
2012-11-28 20:12:20 +00:00
Translation updater bot 8307a2f8e8 Localisation updates from http://translatewiki.net.
Change-Id: Ib885e6bbdacf12fa4133a376cf1586fcef4e6437
2012-11-27 20:59:36 +00:00
Translation updater bot 13414fd296 Localisation updates from http://translatewiki.net.
Change-Id: I69be236bd2575b85906f59dafb119da3ed435939
2012-11-25 20:46:35 +00:00
Hoo man 5f8e9c9ff8 Merge "(Bug 42064) Change getText to getContent in AbuseFilter" 2012-11-25 17:15:40 +00:00
jeblad ae2c2f7e67 (Bug 42064) Change getText to getContent in AbuseFilter
Patchset 2: Handle more content types
Patchset 3: Change cover letter
Patchset 4: Make it b/c
Patchset 5: Refactor and use previous audience
Patchset 6: Fixed/ minor changes

Change-Id: Ib1d2f9803bc95bb9efd445e3778126d5c3090a71
2012-11-25 18:09:47 +01:00
Translation updater bot 8cd7b0ba78 Localisation updates from http://translatewiki.net.
Change-Id: I5bed7d01ff3d9f3c8528f7f30d3b4958851ac93a
2012-11-23 21:41:58 +00:00
Translation updater bot df08a2101a Localisation updates from http://translatewiki.net.
Change-Id: I53604c58e73965087785bbae35294a354d7faaaf
2012-11-22 20:38:06 +00:00
Translation updater bot 45063c53f0 Localisation updates from http://translatewiki.net.
Change-Id: I3ad5b66245b2112680930060093bb19e90b1e0ca
2012-11-21 22:25:07 +00:00
Translation updater bot 90b67d824a Localisation updates from http://translatewiki.net.
Change-Id: I72f34ab6d829a9773624b85b601c82f6fc1f54b4
2012-11-19 20:13:16 +00:00
Translation updater bot 6008c2faac Localisation updates from http://translatewiki.net.
Change-Id: I2ba767f6d89a260e7c3e9744bcffc3bd575dd31e
2012-11-18 20:36:17 +00:00
Translation updater bot 74ec4aa893 Localisation updates from http://translatewiki.net.
Change-Id: I144ae764d752233b6df54d2fe7d5afda23e299a1
2012-11-17 20:43:20 +00:00
Translation updater bot 17a45a4b8a Localisation updates from http://translatewiki.net.
Change-Id: I1478fec93ad658f0199918e4c01509afc5826ca6
2012-11-16 20:35:10 +00:00
Translation updater bot dd2bb28e57 Localisation updates from http://translatewiki.net.
Change-Id: I64b9fa755306a40df2e523dfb6ef13e46d00964d
2012-11-15 20:40:12 +00:00