Commit graph

2556 commits

Author SHA1 Message Date
Kunal Mehta d962b418a9 Add "abusefilter-bypass" userright as a hack for GlobalRename page moves
GlobalRename is having its page moves stopped by AbuseFilter rules
that shouldn't affect it at all. This is a temporary hack until
something like bug 67936 is fixed.

This is less evil than unsubscribing AbuseFilter from $wgHooks IMO.

Change-Id: I6b301fda119be167d3f092d86ba5914289045fab
2014-07-22 23:04:40 -07:00
Marius Hoch 39fb819b9c Don't try to pass non Title objects into RequestContext::setTitle
That will cause a fatal error...

Change-Id: Ib12765ca696ee9c8c5a0572dab54d30a4434e6ce
2014-07-20 22:04:37 +02:00
Translation updater bot 203e570414 Localisation updates from https://translatewiki.net.
Change-Id: I73d87d52c2c23ecaee2d204facceacf787a67472
2014-07-20 21:06:09 +02:00
Translation updater bot d4d9ac9867 Localisation updates from https://translatewiki.net.
Change-Id: I1a960edb02e90dbd0860a1553d1c9addcea2ba2d
2014-07-19 22:01:51 +02:00
Translation updater bot c6b8f782fd Localisation updates from https://translatewiki.net.
Change-Id: I41d19f0a56363b30c461e228bd2806360fdd0df0
2014-07-17 22:54:42 +02:00
Translation updater bot 32253a8557 Localisation updates from https://translatewiki.net.
Change-Id: I13a48802c4d46c02b9f10cc97cedcc161b5966bb
2014-07-16 21:59:24 +02:00
Translation updater bot 031e11d741 Localisation updates from https://translatewiki.net.
Change-Id: I4af77e69932c0d65be4dbd2e540d4911c356f534
2014-07-14 21:58:02 +02:00
Translation updater bot d2831387ea Localisation updates from https://translatewiki.net.
Change-Id: I4605818b79a7b085c409f55de2e38956c7ae4242
2014-07-13 22:19:32 +02:00
Translation updater bot f2ffcde1b6 Localisation updates from https://translatewiki.net.
Change-Id: Ie842a6d229a9c6091c1636663133251fc00d020d
2014-07-12 23:18:55 +02:00
Ori Livneh 0e36b728e3 Fix double escaping in AFPData::keywordLike()
If we don't map '\-' and '\+' to themselves, the leading slash gets escaped,
and the resultant pattern only matches a literal slash.

Bug: 67670
Change-Id: Ifa1e3edd6f41985a3bb97bfb1497985f8fa64af5
2014-07-11 14:56:42 -07:00
Translation updater bot d239ab117f Localisation updates from https://translatewiki.net.
Change-Id: I53a2c13915b92a157408988f1c22a5e39b11957b
2014-07-11 21:54:07 +02:00
Translation updater bot 125a57e669 Localisation updates from https://translatewiki.net.
Change-Id: I764d2c4164336b494f4453b71913d43fb1a62a0d
2014-07-09 20:29:49 +00:00
Translation updater bot 819d6f4cc5 Localisation updates from https://translatewiki.net.
Change-Id: I537b5db4458b5769df7dae226c6c71bce8fa16c8
2014-07-08 20:58:45 +00:00
Translation updater bot 10c2bef0d9 Localisation updates from https://translatewiki.net.
Change-Id: I444f8b8c397548ae547e483fb50237d75386839a
2014-07-07 20:17:31 +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
jenkins-bot 355fb4781d Merge "Separate parameters for the filter ID and localized filter name in AbuseFilter" 2014-07-06 23:20:15 +00:00
Translation updater bot 0e2321e0cf Localisation updates from https://translatewiki.net.
Change-Id: I9741c2b5152252f49713038770f5ab45daaf3a3b
2014-07-05 19:53:30 +00:00
Translation updater bot b22822dfd8 Localisation updates from https://translatewiki.net.
Change-Id: Ifaabe36710b88bc8235ef8d1f088d308f12dc5ab
2014-07-04 21:29:18 +00:00
Jackmcbarn 9409452698 Add tags from all matching filters
If multiple filters all add tags to an edit, make all of them be added
rather than just one of them.

Bug: 66387
Change-Id: Ib666c2765718d7d0603921ab94d22a7d51cbd3d2
2014-07-02 23:20:47 +00:00
Translation updater bot 43745392ed Localisation updates from https://translatewiki.net.
Change-Id: I1bd49d0976283054e08622a03e14b0a1b8f41eb4
2014-06-29 18:33:16 +00: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 6d3f163a94 Localisation updates from https://translatewiki.net.
Change-Id: I33c2cf53c0d1c6843ac751074b04b84a8bfb62df
2014-06-27 20:16:55 +00:00
Translation updater bot 24c2f3fad2 Localisation updates from https://translatewiki.net.
Change-Id: Idf726a50ba18521d8e828dd4f78794f77053a734
2014-06-26 19:25:23 +00:00
Translation updater bot 3633f3aa9f Localisation updates from https://translatewiki.net.
Change-Id: I45c3f1bc7502309d492ce38c611f7ae1cec1162f
2014-06-24 19:58:14 +00:00
Translation updater bot b611a46534 Localisation updates from https://translatewiki.net.
Change-Id: Ia75d5badaa64939667cfc55140030be8f6070e9c
2014-06-23 19:53:24 +00:00
Ori Livneh ea46bfdd16 Use preg_match rather than fnmatch for 'like' operator
fnmatch() will not recognize 'é' as a single character when the LC_CTYPE locale
is set to C / POSIX. So transform the shell-style pattern to PCRE, and use
preg_match() instead.

fnmatch() was not available on Windows prior to PHP 5.3, so code snippets for
preg_match()-powered polyfills abound. I used the pattern translation map from
<http://www.php.net/manual/en/function.fnmatch.php#100207> after testing
different implementations and finding it to be the most complete.

Bug: 66930
Change-Id: Ice12c7b9dbe6472fe4131679a48a0ad54fac6394
2014-06-23 11:38:08 -07: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 378a5ef741 Localisation updates from https://translatewiki.net.
Change-Id: I6d3691b7bdd85fa50c8c10a46fa175d5fca7ffbb
2014-06-18 19:49:15 +00:00
Translation updater bot bafcde688f Localisation updates from https://translatewiki.net.
Change-Id: I9a75a0da7c07111db3e471ac1b5e8a53a259911c
2014-06-16 19:47:30 +00:00
Translation updater bot 8cb2ecce98 Localisation updates from https://translatewiki.net.
Change-Id: I4ffbe7393ee3827a4d0d29b952acc239bbbe916a
2014-06-15 19:50:05 +00:00
Translation updater bot 851bb54818 Localisation updates from https://translatewiki.net.
Change-Id: Ia26ca0445c493502c74560b482224a8258f26fa1
2014-06-14 19:15:42 +00:00
Translation updater bot 9dcf751000 Localisation updates from https://translatewiki.net.
Change-Id: I6860cca7adf0ab41cf1d33f913896e527dfed680
2014-06-13 20:47:21 +00:00
Translation updater bot 5d9c139643 Localisation updates from https://translatewiki.net.
Change-Id: I0c9efd550ec9e83d26465de2771f57f67192b260
2014-06-12 21:36:15 +00:00
Translation updater bot 53e4dee40d Localisation updates from https://translatewiki.net.
Change-Id: Ib488765727321d779fefcb836f156b5b0daaf1af
2014-06-11 20:35:21 +00:00
Translation updater bot af566a0cec Localisation updates from https://translatewiki.net.
Change-Id: I47c9dc131039d9c9ee57b0c372a954aa3a6e4643
2014-06-10 20:43:10 +00:00
Translation updater bot 0425464f76 Localisation updates from https://translatewiki.net.
Change-Id: I160853696fa03c73e8375b9d791b9b7abc7b17d8
2014-06-08 19:55:20 +00:00
se4598 8125decd66 fix "JQMIGRATE: jQuery.fn.toggle(handler, handler...) is deprecated"
Bug: 65804
Change-Id: Ie25caa8ee2c2be9c5a2c13b3415fcd2d32ad7fb1
2014-06-08 20:59:50 +02:00
Translation updater bot 4a2b193283 Localisation updates from https://translatewiki.net.
Change-Id: I74550d0a86630215f7b57d90b30f571f817b75c1
2014-06-06 21:44:56 +00:00
Translation updater bot eff6d751ee Localisation updates from https://translatewiki.net.
Change-Id: Ifa7c97e0e40133771f7dae2cfba53bac90de8b81
2014-06-01 19:39:12 +00:00
Andrew Garrett 3b7cae1965 Fix ccnorm() function -- strtr fails on empty key
ReplacementArray->replace() calls strtr() which fails if an empty key is provided.

Change-Id: I635f057dab53edcfe1736f74829b6dbe1e7739d3
2014-05-30 11:24:21 -07:00
Translation updater bot dce990fda2 Localisation updates from https://translatewiki.net.
Change-Id: I2b0b8f5175d939d5e0f4e08a4c88f829304e1272
2014-05-29 19:35:30 +00:00
Translation updater bot e25585e57b Localisation updates from https://translatewiki.net.
Change-Id: Ic8d791653da567f7b70387601c1a0b82e30b7348
2014-05-28 19:32:41 +00:00
jenkins-bot e2a805d3b4 Merge "(bug 65805) Fix notice when creating new filter" 2014-05-28 14:31:25 +00:00
Translation updater bot 4522f94103 Localisation updates from https://translatewiki.net.
Change-Id: Ifb04254945ca6882be045223033c1f693b70ba5f
2014-05-27 20:18:32 +00:00
Matthias Mullie 2c449c3acc (bug 65805) Fix notice when creating new filter
Notice: Undefined index: af_throttled in
extensions/AbuseFilter/Views/AbuseFilterViewEdit.php on line 148

This assumes af_throttled to exist in $newRow, which comes
from AbuseFilterViewEdit::loadRequest, which in turn comes
from AbuseFilterViewEdit::loadFilterData, where no
af_throttled property is added to the newly created object.

Bug: 65805
Change-Id: I45ad0ea2cea242711b6109e67b99b71242ff57f6
2014-05-27 15:26:17 +02:00
Translation updater bot 9fcb1283d3 Localisation updates from https://translatewiki.net.
Change-Id: I10ccba39226254e6fc9956bebb43e515d9bd1597
2014-05-24 15:17:50 +00:00
Translation updater bot 05473394e3 Localisation updates from https://translatewiki.net.
Change-Id: I49b8ee4166128806bdb11989b1eb461978c7ffc9
2014-05-20 18:56:33 +00:00
Translation updater bot a9d92eb523 Localisation updates from https://translatewiki.net.
Change-Id: Ic6251c5528eb971b95b8ca02486b7e45a25dc2a5
2014-05-19 19:43:17 +00:00
Translation updater bot c8eb18a57e Localisation updates from https://translatewiki.net.
Change-Id: Ifb0c974860c1db414ab217106358e78d2c45a05d
2014-05-18 20:05:07 +00:00
Translation updater bot cf71c2af3f Localisation updates from https://translatewiki.net.
Change-Id: I114e2e2da3eb31ef41c098e0ff1a456e840eaf28
2014-05-17 19:54:37 +00:00