Commit graph

2328 commits

Author SHA1 Message Date
Marius Hoch 89726ae861 Allow filtering links and html for page creations
Right now it's impossible to filter added_links etc.
for page creations.

(Only slightly tested)

Change-Id: Iee07fc8bfe41e78abb73d8ae969aa1e4d97339bc
2013-06-05 03:52:29 +02:00
Translation updater bot 51b19d35f3 Localisation updates from http://translatewiki.net.
Change-Id: I42a81298836a6f25845c09121eb852bc31d15978
2013-06-03 18:14:00 +00:00
Translation updater bot 49d6765f72 Localisation updates from http://translatewiki.net.
Change-Id: I46f7861f5c609db67d288ee15113842df8930e16
2013-06-03 11:38:00 +00:00
jenkins-bot ddc511ab15 Merge "Fix AbuseFilter::disableConditionLimit()" 2013-05-29 21:38:53 +00:00
Translation updater bot 0e0b3a5343 Localisation updates from http://translatewiki.net.
Change-Id: Idba516737216a953a36ecd85c6f7817132bbb1ab
2013-05-29 08:33:25 +00:00
Translation updater bot 4867127c97 Localisation updates from http://translatewiki.net.
Change-Id: I1c88767378c6efc8d20cc9712bab5274ce2a6d54
2013-05-28 06:42:12 +00:00
Marius Hoch a7aa0fa185 Fix AbuseFilter::disableConditionLimit()
Used for Special:AbuseFilter/test

Change-Id: I964efbbb0be7cae418746667778874790fdbb499
2013-05-28 00:43:33 +02:00
jenkins-bot 725ddeba4a Merge "Hide external changes in Special:AbuseFilter/test" 2013-05-25 09:05:12 +00:00
Translation updater bot a2d8d96772 Localisation updates from http://translatewiki.net.
Change-Id: Icf75bc98713a9c2896602df531880eeb5f0194e2
2013-05-25 08:22:22 +00:00
Marius Hoch 7705e90506 Hide external changes in Special:AbuseFilter/test
Like on /examine

Change-Id: I760ad45f9858ccf088e5a8a12ddb57770a4a4ff8
2013-05-24 22:24:06 +02:00
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