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
Translation updater bot
4897af331d
Localisation updates from http://translatewiki.net .
...
Change-Id: I3c65e1abb4272011f52b71527583263300f2ae54
2013-03-13 21:08:32 +00:00
Kunal Mehta
75e3fa4b8b
Change right needed to see filter id in API to hidden from private.
...
Currently it checks if the filter is set to hidden, and then
requires the private permission to view it, which is intended
for private data (like IP addresses), not hidden filters.
Change-Id: Iff8f9edf2466050aeadf3907dcff5464e179ff68
2013-03-13 00:41:03 -05:00
Translation updater bot
32c4d51a52
Localisation updates from http://translatewiki.net .
...
Change-Id: Icd8d72a59cc97093b5203f08a63a4ed39e7d2f31
2013-03-12 21:08:40 +00:00
Translation updater bot
c573a0c795
Localisation updates from http://translatewiki.net .
...
Change-Id: I6a83803d72d905857a8777a74958dc8aaa890523
2013-03-11 20:26:20 +00:00
Translation updater bot
ffb6d8ae7e
Localisation updates from http://translatewiki.net .
...
Change-Id: Ia3636171bf2066b83b812b6ca49cb0f1ffcd52ba
2013-03-10 21:17:59 +00:00
Translation updater bot
7461a836d3
Localisation updates from http://translatewiki.net .
...
Change-Id: I2127c061a404e17e644b23600eca89ff88c342dc
2013-03-08 17:02:50 +00:00
CSteipp
4c2e5af737
Merge "Overhaul of the AbuseFilter JS"
2013-03-07 18:24:07 +00:00
shirayuki
b460fa790f
Adding trailing dot + comment for grep (24 messages)
...
Change-Id: I7b532028a2bdbed11f0dfe6cdf4eb4514671294c
2013-03-07 23:03:59 +09:00
Marius Hoch
e3d15fe915
Overhaul of the AbuseFilter JS
...
I've changed the JS of the AbuseFilter extension to match our
coding conventions and made it use mediaWiki.Api(). Furthermore
I fixed several error handlers and made some things nicer in
general while trying to not change the user appearance.
I've tested the changes as good as I could (I'm pretty sure everything
works).
Change-Id: Iaa0f99367bd7e0bfaf7249dcc9ac9ce9881b46e1
2013-03-07 14:14:25 +01:00