Commit graph

4342 commits

Author SHA1 Message Date
jenkins-bot 84487b86d8 Merge "Deprecate addHolder for addHolders." 2013-04-23 21:22:37 +00:00
nischayn22 454a7cc897 Deprecate addHolder for addHolders.
lot of code was using ::merge() to create a new AbuseFilterVariableHolder
this is now simplified using a single addHolders method.

merge() still exists as its usful as a static function.
addHolder() is deprecated.

Change-Id: Ia4f6a56f642242a04cf2973b74ce44d91fce00eb
2013-04-23 23:19:32 +02:00
Translation updater bot 970947d534 Localisation updates from http://translatewiki.net.
Change-Id: I1b91eefa2ced6b530c8600934c18ee3ef6cf1b12
2013-04-23 20:02:48 +00:00
nischayn22 ca1bb852fb Added css class for hidden logs.
Bug 28247

Change-Id: Icd58fce8f11308ba44abd403c150ebf27a25e0ca
2013-04-22 01:27:17 +05:30
Translation updater bot cac4c1bbd8 Localisation updates from http://translatewiki.net.
Change-Id: I040b91d9db972b57bfda721aaf352a24a4229569
2013-04-20 22:40:34 +00:00
Translation updater bot 49ccce51fa Localisation updates from http://translatewiki.net.
Change-Id: I73e1e8b73ad0ba9306c73b86dc15e65cf2fab4ce
2013-04-19 20:25:08 +00:00
Translation updater bot 51a32cea2e Localisation updates from http://translatewiki.net.
Change-Id: Iead68fe43a06fa3519043fb3b465b578fd0c2b84
2013-04-18 19:41:09 +00:00
Raimond Spekking f842546a46 Revert "Localisation updates from http://translatewiki.net."
Overwrites 30dbd99c27bf3a4a042befd6d334b4c0439bde0

This reverts commit 230aee3100

Change-Id: Ie430ed48f543bbba1b6bd8ac7b7915afef8d00bb
2013-04-17 19:43:04 +00:00
Translation updater bot 230aee3100 Localisation updates from http://translatewiki.net.
Change-Id: Ic5f5d8d582dd67579638385be62738f856826901
2013-04-17 19:32:11 +00:00
Kunal Mehta 4bec58cd54 Add a "ucase" function to convert the provided string to uppercase.
I basically took the lcase code and tweaked it to work for uppercase.

Bug: 47321
Change-Id: I230dbd99c27bf3a4a042befd6d334b4c0439bde0
2013-04-17 11:48:15 -05:00
Marius Hoch f883ad8675 Use POST method for action=abusefilterchecksyntax API requests
Needed as filters take arbitrary user input through a textarea,
which can get rather big. GET cuts it off sometimes.

Bug: 47298
Change-Id: I317f5d7c372710617a7a6526cd4613de9660a40a
2013-04-17 15:09:43 +02:00
Marius Hoch 87094b9c0a Add .jshintrc for AbuseFilter and make it pass
Change-Id: I1cee072e6c751e441e77e6f005676fe13841283e
2013-04-17 15:03:36 +02:00
Translation updater bot 1829db3c89 Localisation updates from http://translatewiki.net.
Change-Id: I42c736949b18dc4c7eca8746f4c0634715522126
2013-04-16 19:43:16 +00:00
Translation updater bot 29468396c4 Localisation updates from http://translatewiki.net.
Change-Id: Ia4d8230d346d25bde86921541c0da040301f4808
2013-04-15 20:54:34 +00:00
Translation updater bot 4b19d49e0b Localisation updates from http://translatewiki.net.
Change-Id: I4fa4346ca7cf00a27dbb3fd0e2006b8580a9e542
2013-04-11 20:18:52 +00:00
Translation updater bot 636631b147 Localisation updates from http://translatewiki.net.
Change-Id: I223984bd66ddad68167748fba375ae1aa0805154
2013-04-10 20:28:59 +00:00
Aaron Schulz 05b38eb613 Merge "Change AbuseFilter to use UserCache instead of user_text fields" 2013-04-09 22:00:51 +00:00
Translation updater bot 49b8c62093 Localisation updates from http://translatewiki.net.
Change-Id: Id4c65a1743d3abd4391a51e6514b440b36a57ceb
2013-04-09 20:26:58 +00:00
Translation updater bot a1013120e2 Localisation updates from http://translatewiki.net.
Change-Id: I5637cbf1cabae622ce44c8231ff1ca112c93634d
2013-04-08 19:55:05 +00:00
Translation updater bot 938f1d83b7 Localisation updates from http://translatewiki.net.
Change-Id: I9a484702e376c7e1e4c72f9a69e17e162cf72b9e
2013-04-07 20:46:47 +00:00
Translation updater bot 1083518a2e Localisation updates from http://translatewiki.net.
Change-Id: If5dc76cc9b782eac706149ce9b05659c0dca64e9
2013-04-05 22:23:34 +00:00
Translation updater bot ce7fd7c5a4 Localisation updates from http://translatewiki.net.
Change-Id: I04382dda89b718e932d718bfae3407001a675b45
2013-04-04 19:38:30 +00:00
Translation updater bot a353c3f6b5 Localisation updates from http://translatewiki.net.
Change-Id: I78ec25887c58d9ccf819cfe43db30e666b093ed6
2013-04-03 19:35:54 +00:00
Timo Tijhof 5d50832447 JSHint: If you use 'use strict', make sure you actually pass it.
Someone added "use strict" to AbuseFilter JS files, but it didn't
actually pass in strict mode.

Change-Id: I0cf26b4dacfa88fb40d0595276db65239823763a
2013-04-02 21:44:01 +02:00
Translation updater bot de7513557a Localisation updates from http://translatewiki.net.
Change-Id: I664fb2079418ad776f056961036e033b0a91f2a8
2013-04-02 18:58:20 +00:00
jenkins-bot 0f27085e4c Merge "Restore compatibility with MW 1.20 and 1.19" 2013-04-02 00:39:45 +00:00
Translation updater bot c0cfe21478 Localisation updates from http://translatewiki.net.
Change-Id: Ibecd79e6257eee42e3c5c66deb5eea07d64973bf
2013-04-01 20:33:05 +00:00
Marius Hoch f835cba0c2 Restore compatibility with MW 1.20 and 1.19
Partly reverts I8e420f0259ef6c9e579f7a00beb58f28af9da37d (untested)

Change-Id: Ib8634a3178a626f50f1150661842c16dc26c9516
2013-04-01 19:54:39 +02:00
Siebrand Mazeland e87bb7a59c Replace 2 deprecated methods
Change-Id: I8e420f0259ef6c9e579f7a00beb58f28af9da37d
2013-04-01 11:05:08 +02:00
Siebrand Mazeland 3ff9084c2d Fix PHPDoc comments
Change-Id: I7d6da503d909d06b9a10cb55144852e1c4d07569
2013-04-01 11:04:03 +02:00
Translation updater bot 466e1ed2e7 Localisation updates from http://translatewiki.net.
Change-Id: I3eabe025fa3da466b9f6f5e4a997e456509f3ac3
2013-03-31 18:40:24 +00:00
Translation updater bot 809d5d2e46 Localisation updates from http://translatewiki.net.
Change-Id: Ifd6f1604fb3cb1b2721fbdd240ce150f2a9766cd
2013-03-30 17:59:20 +00:00
Translation updater bot d157154332 Localisation updates from http://translatewiki.net.
Change-Id: I11e2080bbeba98d78cb9313e395e425bdcc57d2f
2013-03-29 20:34:21 +00:00
Translation updater bot 157e7c28d2 Localisation updates from http://translatewiki.net.
Change-Id: If85bf08bee4b0bed302f4e9c1fc1f53825095278
2013-03-27 20:36:16 +00:00
Alex Monk aaa256aa94 Change AbuseFilter to use UserCache instead of user_text fields
Change-Id: I51210ff91366a3a1610d34ca20e8966aaded89a0
2013-03-27 15:59:34 +00:00
CSteipp 9c9c0dd026 Merge "Make use of the user_timestamp index in ApiQueryAbuseLog" 2013-03-26 22:40:46 +00:00
CSteipp 38bd0a31b5 Merge "Make AbuseLog searchable by IPv6 IPs" 2013-03-26 22:32:23 +00:00
Translation updater bot f28ec35691 Localisation updates from http://translatewiki.net.
Change-Id: I8d67003941da8be7e282d64ce2886a5f67989418
2013-03-26 21:01:01 +00:00
Marius Hoch 2a7e5c8193 Make use of the user_timestamp index in ApiQueryAbuseLog
Furthermore sanitize IPs as ::01 == ::1

Change-Id: I91489d17c012004f607bbe571b9a2702afbf3d81
2013-03-26 15:16:43 +01:00
Marius Hoch 233a850a08 Make AbuseLog searchable by IPv6 IPs
Bug: 39449

Change-Id: Ie331ec7ef3b461ae10f0e28fe50cb86684c6d3a0
2013-03-26 00:30:32 +01:00
Translation updater bot 957a5690f7 Localisation updates from http://translatewiki.net.
Change-Id: If69be76e54f34fd2b01c4a9942d1b1783f6d8981
2013-03-25 19:25:21 +00:00
Marius Hoch 3010d78950 Add parser tests for bug 25373
Change-Id: I2f2524731098f323e61bbc0442e7b56b11cdea37
2013-03-23 21:49:57 +01:00
nischayn22 dd28075e46 Conditional operator with () returns false.
Directly applying the patch given in the bug report. Thanks to orlodrim.
bug: 25373

Change-Id: I72b27e3dd22416288f3113e5a7c5a21ffbac01fb
2013-03-23 11:11:25 +05:30
Translation updater bot d5f282a2dd Localisation updates from http://translatewiki.net.
Change-Id: I73087c51531b07fb6558375e428607d29511e365
2013-03-20 20:52:20 +00:00
Translation updater bot 708edc5522 Localisation updates from http://translatewiki.net.
Change-Id: I7663654ccb3fc1ca2eb9b754e3462f2988ac5509
2013-03-19 21:35:09 +00:00
Tim Starling 7450622fff Update afl_rev_id even if the edit summary changed
(bug 28633) With $wgUseAutomaticEditSummaries=true, the edit summary is
different between EditFilterMerged and ArticleSaveComplete. AbuseFilter
was using edit summary changes to attempt to detect whether the two
hooks refer to the same edit. If it really is possible for multiple
edits to be performed in the same request, with arbitrary patterns of
EditFilterMerged and ArticleSaveComplete calls, then some more robust
method would be needed to match the hook calls. But I don't think that
is necessary at present.

Change-Id: I94321905f38eafde8add00eff73745af255c1f15
2013-03-19 11:34:30 +11:00
Translation updater bot 8c94758815 Localisation updates from http://translatewiki.net.
Change-Id: I34ec82b7f15bb9ac2d1561fc4fdd49debb791504
2013-03-18 21:02:20 +00:00
Translation updater bot 2e2d7d2bf4 Localisation updates from http://translatewiki.net.
Change-Id: I6c727f809a4ec0420e031e8b4ae6c5600e5e8136
2013-03-17 20:30:45 +00:00
Translation updater bot 26747580c3 Localisation updates from http://translatewiki.net.
Change-Id: I7f264465fa2eef899bad9ca5fa8309c78b92b5d5
2013-03-16 21:22:51 +00:00
Translation updater bot dc760a3405 Localisation updates from http://translatewiki.net.
Change-Id: I6a657c6d2d1aee3ca7c29f516457506658738ff6
2013-03-15 19:58:03 +00:00