Commit graph

815 commits

Author SHA1 Message Date
Brad Jorsch 508a3706d6 Use WikiPage::prepareContentForEdit in SpamBlacklistHooks::filterMergedContent
Using WikiPage::prepareContentForEdit instead of
Content::getParserOutput allows us to share the cached parser output
with other hooks that run during the edit process.

Note SpamBlacklistHooks::filterAPIEditBeforeSave already does this.

Bug: 57026
Change-Id: I8c8b293af2842411fd95d3bc21e966a72b2a78b4
2013-12-14 10:24:33 -05:00
Translation updater bot d709540dbd Localisation updates from https://translatewiki.net.
Change-Id: Ie9909d5a616b85e1d37c4c8bf27b7a8cd2519a93
2013-12-09 21:25:55 +00:00
Translation updater bot a6054a45bd Localisation updates from https://translatewiki.net.
Change-Id: I6f5f1d02428f9dcf2621dda8ba8cd63d90edb43c
2013-12-08 20:28:12 +00:00
Siebrand Mazeland ef3f55ca34 Add explicit GENDER support in log entry
Change-Id: Ic096fa0d1eabb622215a439406d12bf7bc4b7e2d
2013-12-07 13:11:32 +00:00
Translation updater bot 11acd121fc Localisation updates from https://translatewiki.net.
Change-Id: I3cb574346b91e12d283d8ef54790afb6304a8a68
2013-12-07 01:51:26 +00:00
Translation updater bot a32096ecf3 Localisation updates from https://translatewiki.net.
Change-Id: I203de30d4f8e70a22633f45424ac6a6b505986e6
2013-12-03 20:50:53 +00:00
Translation updater bot d66088ffc6 Localisation updates from https://translatewiki.net.
Change-Id: Ib07af3fe13bd5a30a00cad4de85fce2b65b4cfaa
2013-12-02 20:40:38 +00:00
Translation updater bot 51902d12f7 Localisation updates from https://translatewiki.net.
Change-Id: I7914d707bce7c5e97476385601b45f2d8a3a75f3
2013-12-01 19:56:58 +00:00
Translation updater bot f98c8f1832 Localisation updates from https://translatewiki.net.
Change-Id: Ia02a8798c7dbff531c43ac15e03af5a0348ec5b4
2013-11-29 19:31:30 +00:00
Translation updater bot 72b780f466 Localisation updates from https://translatewiki.net.
Change-Id: I702f1723e24456971423700b1086e26a0d811d88
2013-11-24 20:36:23 +00:00
Reedy 7f2781e06d Load SpamBlacklist from meta over HTTPS
Change-Id: I3c3d397d5779aa0affcfa8455c2197ac562c5424
2013-11-23 01:00:34 +00:00
Translation updater bot e15a3c505b Localisation updates from http://translatewiki.net.
Change-Id: Ib2e4526bb2a4d0488b9d5819d793e343c6446381
2013-11-20 20:44:07 +00:00
Translation updater bot 2a3af8bef2 Localisation updates from http://translatewiki.net.
Change-Id: Ibe4879bcffddbbe684b87771eb5702fa532b962b
2013-11-10 20:29:36 +00:00
Translation updater bot 2d4bf877f4 Localisation updates from http://translatewiki.net.
Change-Id: Ide8e860d46163afd533389211da482a5cf70bd57
2013-11-09 19:13:19 +00:00
Translation updater bot 33f2f1c10d Localisation updates from http://translatewiki.net.
Change-Id: I76f2b81ed443790527b2818fc997ae31d1412c12
2013-11-02 20:02:53 +00:00
Translation updater bot 219756f6ec Localisation updates from http://translatewiki.net.
Change-Id: I1733a11ec0510ff0d4f92b9e7b544333ae24eeac
2013-10-30 19:36:50 +00:00
Translation updater bot 2deeb34d5b Localisation updates from http://translatewiki.net.
Change-Id: I896b8c5a4316953f938b58e4dbaa02581015b220
2013-10-26 19:35:43 +00:00
Translation updater bot d6bd4c19bd Localisation updates from http://translatewiki.net.
Change-Id: If946de224338d04988f952ec47c623a2eb27f2d5
2013-10-24 20:50:16 +00:00
Translation updater bot f91ad56f07 Localisation updates from http://translatewiki.net.
Change-Id: If5831a6221119b35d9c3ba2e5e77bde60b3f8572
2013-10-22 19:21:30 +00:00
Translation updater bot 4a41f7d479 Localisation updates from http://translatewiki.net.
Change-Id: I6c1ff831774e5fbea204eb2042284d02f5842880
2013-10-21 19:40:26 +00:00
Translation updater bot 511a1c2d23 Localisation updates from http://translatewiki.net.
Change-Id: I4def5163f7064fc631c918ec63c8ab8aae80dd36
2013-10-20 21:47:52 +00:00
Translation updater bot 980d8da648 Localisation updates from http://translatewiki.net.
Change-Id: Iec875bb0ab758183e5e5cd6f3f88048242bb8886
2013-10-14 09:30:55 +00:00
Translation updater bot e9d83d37c7 Localisation updates from http://translatewiki.net.
Change-Id: I38fffc494fbbddde13d62bf342dee96ec781200b
2013-10-08 01:00:24 +00:00
Translation updater bot 7d1600a607 Localisation updates from http://translatewiki.net.
Change-Id: I7fc8807e07c6ff3bf2d0427e02378073cfb8fb55
2013-10-07 01:45:04 +00:00
Translation updater bot 8267c88570 Localisation updates from http://translatewiki.net.
Change-Id: I243e5b91b4966d7e6bca89abcbbf7c537477fdf4
2013-09-26 12:13:52 +00:00
jenkins-bot aca695d966 Merge "Add missing message" 2013-09-23 13:36:32 +00:00
raymond a19681cba8 Add missing message
Currently this is shown:

You do not have permission to <action-spamblacklistlog>, for the following reason:

PS2: Fix grammar per Siebrand's CR

Change-Id: I5bb7f4fccf4a8970f646b516beff4135da8a9e75
2013-09-23 15:32:49 +02:00
Marius Hoch d3099d6e14 Add 'spamblacklistlog' to the list of available rights
Follow up to: I7b1ee2b

Change-Id: If97de3c400d4b659f13ff0d63ec7063e4ae5a427
2013-09-20 19:43:23 +02:00
Nemo bis 220e02e5b2 Update extension description to include recent email blacklisting feature
The email blacklist has been kept undocumented since January 2012...
Also avoid linking the local pages: they are too many, they are
documented on the extension page and they are not the only source
lists even by default.

Bug: 43337
Change-Id: I5610dc92a7eb32fb57b5367997c21e6c3c311813
2013-09-10 22:43:24 +02:00
jenkins-bot acaf4262d9 Merge "Log blacklist hits to Special:Log" 2013-09-08 00:58:41 +00:00
Translation updater bot 71b7c5048f Localisation updates from http://translatewiki.net.
Change-Id: I4b116eee41c35131ea2880302c891eb8d578544f
2013-09-05 20:28:51 +00:00
jenkins-bot 8006556f6f Merge "Update README to note that the current version will work up to 1.21" 2013-09-04 20:07:47 +00:00
jenkins-bot c200e09a54 Merge "Better display of parts blocked by SpamBlacklist." 2013-09-04 15:29:57 +00:00
jenkins-bot 4646193da1 Merge "Remove duplicated blocked parts reported by SpamBlacklist." 2013-09-04 15:27:57 +00:00
Kunal Mehta 0d3c0b9529 Update README to note that the current version will work up to 1.21
Change-Id: I63fdd31f9997ffad242cd2c1a24b2c2eb3dfc609
2013-09-03 16:01:27 -07:00
daniel a3defb8b91 (bug 51621) Make SBL aware of ContentHandler.
This changes SpamBlacklist to make use of the new, ContentHandler
aware hooks.

This change also includes some refactoring and cleanup which made
the migration to the new hooks easier.

Change-Id: I21e9cc8479f2b95fb53c502f6e279c8a1ea378a5
2013-08-24 19:55:55 +02:00
Translation updater bot a56f8d0946 Localisation updates from http://translatewiki.net.
Change-Id: I1a23a5409fec5abd0aff3fc4f37a0b71258c879b
2013-08-23 19:49:08 +00:00
Translation updater bot a4bc0d4412 Localisation updates from http://translatewiki.net.
Change-Id: Ibd9c09942156295963b013d7852522ecc9636d37
2013-08-22 19:49:32 +00:00
Translation updater bot dc827e80c1 Localisation updates from http://translatewiki.net.
Change-Id: I9035b5c81bcc1afff309e44102db1bdf84845874
2013-08-18 19:41:11 +00:00
Liangent 3840ef915c Remove duplicated blocked parts reported by SpamBlacklist.
Change-Id: I58f0faa9db7620b2413ffa4156f8262a8bb3e71a
2013-08-13 12:39:24 +00:00
Translation updater bot 29f69a35e7 Localisation updates from http://translatewiki.net.
Change-Id: Ia4169512127dee20b9d63e52905fff813b0dc71e
2013-08-04 18:55:54 +00:00
daniel dfb25d3f73 Fix missing default blacklist.
The default blacklist was no longer being used, because the line
$wgSpamBlacklistFiles =& $wgBlacklistSettings['spam']['files']
initialized $wgBlacklistSettings['spam']['files'] to null,
and BaseBlacklist::__construct then overrode $this->files
with null.

Change-Id: I22448bfb87eef6dd86b61362f3eb6bb2198a10b6
2013-07-31 12:52:38 +02:00
Kunal Mehta 48076ea845 Log blacklist hits to Special:Log
Adds a logBlacklistHit function function, which is callend whenver a new url
matches the blacklist. A new log type of "spamblacklist" is created, and is only
viewable by people with the "spamblacklistlog" userright. This is given to sysops
by default.

By default this is disabled, and is controlled by $wgLogSpamBlacklistHits.

Bug: 1542
Change-Id: I7b1ee2b3bb02b693d695bf66d157e2c33526c919
2013-07-22 13:50:52 -07:00
Translation updater bot a7be17faa0 Localisation updates from http://translatewiki.net.
Change-Id: Id44721017514ddeef54d71cd7cb32c81b5087325
2013-07-17 19:27:10 +00:00
Translation updater bot ee9888ebef Localisation updates from http://translatewiki.net.
Change-Id: I982f5f2a71dfea99efac63b513ca7976d3e59a94
2013-07-16 20:06:02 +00:00
Translation updater bot 3390081e4c Localisation updates from http://translatewiki.net.
Change-Id: I2cad0feea1bd47f5d3fb9fa56861e97679989f99
2013-07-14 19:19:00 +00:00
Translation updater bot 2951c77b5b Localisation updates from http://translatewiki.net.
Change-Id: I39f16f1c6ae0a1b2701028e2f9b2b93e34397d4f
2013-07-12 20:16:36 +00:00
Translation updater bot 04a5765c1c Localisation updates from http://translatewiki.net.
Change-Id: Ic9c9d0d62e919f08906309cedcefd19dc40ece07
2013-07-11 19:15:44 +00:00
Translation updater bot 82e259ac10 Localisation updates from http://translatewiki.net.
Change-Id: I1b42e5e4297a115f3cb57761cd93796309ad9039
2013-06-03 19:05:11 +00:00
Translation updater bot 4e60695fc4 Localisation updates from http://translatewiki.net.
Change-Id: Iec0a7c6a8bb2d8ffb680e5e79cda31e2a6cb4bb3
2013-06-03 11:55:39 +00:00