Commit graph

3218 commits

Author SHA1 Message Date
jenkins-bot 592caf10b6 Merge "Hide external changes in Special:AbuseFilter/examine" 2013-05-24 17:34:04 +00:00
Marius Hoch baf5001d34 Remove redundant class for syntax errors
Removed the redundant clss mw-abusefilter-examine-syntaxerror
as it was causing trouble because the syntax checker in
ext.abuseFilter.edit.js wasn't aware of it.

Change-Id: Ibb90c3e096c3914905c03a3e30c08ba8d14c9024
2013-05-24 16:45:35 +02:00
Marius Hoch 841c7e0c9e Hide external changes in Special:AbuseFilter/examine
Doesn't make sense to have them in there.

Change-Id: I699641a017f03534cb82302a83025f0194a198fe
2013-05-24 16:34:22 +02:00
Translation updater bot 36d046d508 Localisation updates from http://translatewiki.net.
Change-Id: Id7c8f290cdce4093436af50ecbbc2a8713b51917
2013-05-24 08:23:28 +00:00
jenkins-bot 4dca6c6e14 Merge "Fix the subtitle for the AbuseFilter history view" 2013-05-23 14:02:15 +00:00
Marius Hoch 6ac46771c6 Fix the subtitle for the AbuseFilter history view
The html was wrongly escaped. Also append it to the
existing one to leave the navigation in place.

See the subtitle on:
https://en.wikipedia.org/wiki/Special:AbuseFilter/history/?user=Foo

Change-Id: I5725fe15eda1a48fd313c6394800e8b92c450d9d
2013-05-23 13:04:09 +00:00
Translation updater bot 955a63d76a Localisation updates from http://translatewiki.net.
Change-Id: I8b31d6be52346e78feeac92d13ef4867e30026c7
2013-05-23 05:37:49 +00:00
Translation updater bot e58623a7c5 Localisation updates from http://translatewiki.net.
Change-Id: I5da6febf3cee3470ee26fb338a690ec6d7708472
2013-05-22 07:46:56 +00:00
Translation updater bot 473bc3e379 Localisation updates from http://translatewiki.net.
Change-Id: I3f7e040264add3a6a6f2a8748ceebaf34e376ee9
2013-05-21 05:47:29 +00:00
Marius Hoch 3c5a074881 Use the UploadVerifyFile hook
Use the UploadVerifyFile hook instead of the UploadVerification
one as it provides more data about the upload.
This is the first step towards better upload filtering.

Change-Id: Ie535c7d20ed79a1e26d8d399a7c25d632c9c7fa0
2013-05-16 23:13:10 +02:00
Translation updater bot b29209f562 Localisation updates from http://translatewiki.net.
Change-Id: Icb20b1ecf812f39756c81e2b08aca3b8e9b0714d
2013-05-15 21:05:38 +00:00
Translation updater bot 6043124fe8 Localisation updates from http://translatewiki.net.
Change-Id: Ic5af9befa2afa355229adf234a68c49484f2af56
2013-05-14 21:22:05 +00:00
Translation updater bot d9879b7568 Localisation updates from http://translatewiki.net.
Change-Id: I822bb820fa6835c55519bf7f7faeea2bfa3d5404
2013-05-13 19:37:44 +00:00
Translation updater bot afcade788c Localisation updates from http://translatewiki.net.
Change-Id: I7dd57640423e87570500c149c49eee922a9b60c8
2013-05-11 19:35:26 +00:00
Translation updater bot fd3fadb863 Localisation updates from http://translatewiki.net.
Change-Id: Ia5765ce2e977dde1ac90fe974bb3b8cedd09d4d9
2013-05-08 20:17:05 +00:00
Translation updater bot e03e107ded Localisation updates from http://translatewiki.net.
Change-Id: I2dbc7bf96024637e8d3a76592f3531a407e01be0
2013-05-07 20:14:26 +00:00
Translation updater bot 5ad14ec8c7 Localisation updates from http://translatewiki.net.
Change-Id: I63c3258ef5d4d908025370c7dec670eee51b734c
2013-05-06 20:18:50 +00:00
Translation updater bot 9a79742d09 Localisation updates from http://translatewiki.net.
Change-Id: I66e3f96de7da9a3c774fda2bb3f9cd3e90165be2
2013-05-05 21:06:26 +00:00
Translation updater bot 6ac8c5f690 Localisation updates from http://translatewiki.net.
Change-Id: I7d9d08c7673b94b77d97bc5a58d89f7f9f710b70
2013-05-04 20:20:42 +00:00
Translation updater bot 50ae8cd2d4 Localisation updates from http://translatewiki.net.
Change-Id: I3721c53a854bc62bb0a6cc6049e0aa13a452a03b
2013-05-02 20:45:21 +00:00
jenkins-bot 3c83358506 Merge "Add parser tests for bug 25373" 2013-05-01 21:25:11 +00:00
jenkins-bot cd87fb0ee8 Merge "Conditional operator with () returns false." 2013-05-01 21:07:48 +00:00
Translation updater bot 0588a3b07a Localisation updates from http://translatewiki.net.
Change-Id: Id5d744c27cf3e0ba34b79f830c46974215015d58
2013-05-01 20:31:58 +00:00
Translation updater bot 7649094c7b Localisation updates from http://translatewiki.net.
Change-Id: I2ac549c8511810fc9f2b913803cfb9f7d3b9d788
2013-04-28 23:51:54 +00:00
Translation updater bot 32229a0606 Localisation updates from http://translatewiki.net.
Change-Id: I38f052ad673de80ffc2bf694c116d9fffab86baa
2013-04-27 20:14:47 +00:00
Liangent 8be81448bd New variable: new_pst which provides a PSTed version of new_wikitext
It's observed that some vandals use {{subst:void}} to trick the system
and other users and this new variable may help.

It would be nice to be possible to diff this variable against
old_wikitext, but it needs some performance consideration.

Change-Id: I4c4c4e806663363b40936363d659c42016e18cf6
2013-04-24 23:01:57 +08:00
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