Commit graph

492 commits

Author SHA1 Message Date
Jackmcbarn 32b546a223 Categorize pages containing blacklisted links
Add pages containing links that match the spam blacklist to a tracking
category.

Change-Id: I694860bc77d05dccd81522efc23225481d51ee43
2014-03-11 11:23:38 -04:00
Translation updater bot d32162da19 Localisation updates from https://translatewiki.net.
Change-Id: I2df2f1472985b0bbe05dca61c2434806d3de5431
2014-02-24 21:09:47 +00:00
Translation updater bot 8d78af8230 Localisation updates from https://translatewiki.net.
Change-Id: If38403c630b7f46a950891f65ff9b69806b31395
2014-02-20 21:06:28 +00:00
Translation updater bot e69f7d2c7e Localisation updates from https://translatewiki.net.
Change-Id: I77528a995e77e99ff91ef6a98a0e37e07bcb606c
2014-02-19 20:16:20 +00:00
Translation updater bot cb1241a902 Localisation updates from https://translatewiki.net.
Change-Id: Idd2163dc96fae7ccb2cba1e453823a24077586db
2014-02-16 20:21:53 +00:00
Translation updater bot 7c30d365ff Localisation updates from https://translatewiki.net.
Change-Id: If7fad1d30617cb3df28801345617ebd8a8c15ada
2014-02-15 21:07:32 +00:00
Translation updater bot 5688a21a64 Localisation updates from https://translatewiki.net.
Change-Id: Ib1fc1f9e963c8015b06fb67dc4ab68abef2bb0f9
2014-02-13 21:19:46 +00:00
Translation updater bot 16b88e0661 Localisation updates from https://translatewiki.net.
Change-Id: I86ad36be3b0567aaeaf87a70cff4835fad75dae5
2014-02-12 21:36:22 +00:00
jenkins-bot 8a0bb30677 Merge "Add an API action to test blacklisted URLs" 2014-02-12 00:58:09 +00:00
Translation updater bot 9bbe54e43c Localisation updates from https://translatewiki.net.
Change-Id: Ib152b9a77c68f301947cbb750993e6ecd112d974
2014-02-11 19:58:17 +00:00
Jackmcbarn 57a417d181 Add an API action to test blacklisted URLs
Add API action spamblacklist, accepting parameter url, that returns the
parts of the URLs that match the spam blacklist, if any.

Bug: 54441
Change-Id: Ia6aea8b463fc63f951224520b8cc5abf185c5c74
2014-02-04 19:17:38 +00:00
Translation updater bot 82b1bf2fc9 Localisation updates from https://translatewiki.net.
Change-Id: I648fdd2dea991e171a4ec32b209ea87322a3f557
2014-01-24 20:13:31 +00:00
Translation updater bot cfa4e19afa Localisation updates from https://translatewiki.net.
Change-Id: I328c2b71c23547055ed327b673337f6bdef953f3
2014-01-19 20:20:09 +00:00
Translation updater bot 08a2514968 Localisation updates from https://translatewiki.net.
Change-Id: I30377473cbc3cac7ea248ed8b005364d15abca31
2014-01-15 21:04:39 +00:00
Translation updater bot f2a2c92e65 Localisation updates from https://translatewiki.net.
Change-Id: I7931548688d2e53c58c719bc992714640fdb63d3
2014-01-10 22:46:55 +00:00
Translation updater bot def62b759a Localisation updates from https://translatewiki.net.
Change-Id: I9004fb5031b02bd8872265bfa4204e702e27d8ed
2014-01-08 20:37:30 +00:00
jenkins-bot 93b849fb45 Merge "Revert "Use WikiPage::prepareContentForEdit in SpamBlacklistHooks::filterMergedContent"" 2014-01-07 21:58:49 +00:00
Aude 2745442aec Revert "Use WikiPage::prepareContentForEdit in SpamBlacklistHooks::filterMergedContent"
For Wikidata, this causes users to be unable to create items. (bug 59797)

In case of Special:NewItem, $context->getWikiPage() does
$context->getTitle() to get the special page and then WikiPage::factory
with the special page $title.  special page does not make a valid
WikiPage and throws an exception.

Previously, $title = special page and was used in getParserOutput.
$title is invalid there but Wikibase never used that variable.

Would be good to make sure $title is actually related to the content.

This reverts commit 508a3706d6.

Change-Id: Ib24515be6e76d3f29e2f9048fbb81e5a25b5857a
2014-01-07 21:57:47 +00:00
Translation updater bot 47d4e278de Localisation updates from https://translatewiki.net.
Change-Id: I74ab38b9daae938fa1f5a30d4092bfb10821dd26
2014-01-05 20:13:23 +00:00
Translation updater bot 46d75e9706 Localisation updates from https://translatewiki.net.
Change-Id: I945750d05e5817c1215bf85bd55935742532d92b
2014-01-03 20:44:06 +00:00
Translation updater bot 95217368a6 Localisation updates from https://translatewiki.net.
Change-Id: I1b76b93218e2dafcb88ed29f8e48f6aaecba57ed
2014-01-02 20:49:26 +00:00
Translation updater bot 3e9e18aea7 Localisation updates from https://translatewiki.net.
Change-Id: I77453dc2b1d7950d3ac4a869d70377226cd6d24c
2013-12-28 19:32:10 +00:00
jenkins-bot fc94146189 Merge "Use WikiPage::prepareContentForEdit in SpamBlacklistHooks::filterMergedContent" 2013-12-26 18:15:04 +00:00
Translation updater bot 7c7bb8cd90 Localisation updates from https://translatewiki.net.
Change-Id: Ic976ec84d7b1aad316913d15181bdd438a2d4fae
2013-12-25 20:02:42 +00:00
Translation updater bot b540e6196a Localisation updates from https://translatewiki.net.
Change-Id: I51e63040bb501ec526ab8ea1efa7871da33d986e
2013-12-23 20:50:49 +00:00
Translation updater bot 36abcb6153 Localisation updates from https://translatewiki.net.
Change-Id: I441137bc1896e8ec297698433b94ee1d69b4db9a
2013-12-22 20:32:14 +00:00
Translation updater bot daf4077a4c Localisation updates from https://translatewiki.net.
Change-Id: I472641830b1eaadf73239dce92a9b12dfec931e1
2013-12-18 20:26:30 +00:00
Translation updater bot ae18636719 Localisation updates from https://translatewiki.net.
Change-Id: I3815144515ba20b933eda6c5896803a35e12b3a1
2013-12-17 19:24:42 +00:00
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
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