Kunal Mehta
ac0204b70a
Move classes to includes/
...
Change-Id: Ica7abee84a4e17c530cb755687849a998068be70
2018-02-24 17:08:28 -08:00
Brad Jorsch
569b209ce8
Update for deprecation of selectFields() methods
...
Various selectFields() methods were deprecated in MediaWiki core change
Idcfd1556. This change adapts the extension to use the replacement
getQueryInfo() methods when available.
Change-Id: Ia81bf6a655af800ce8ac19940d851e65746e1f77
2017-10-13 14:57:30 -04:00
Umherirrender
77e4b9db61
Improve some parameter docs
...
Change-Id: I2f2027eb1abec05238f36f111dfc35013aa016e2
2017-10-07 11:15:06 +02:00
libraryupgrader
819e31d416
build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
...
Change-Id: I7562a27108030044bdac1cf880ed22e4558f0c83
2017-09-24 05:33:27 +00:00
Umherirrender
c70020a277
build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
...
Change-Id: I27d739823a5f8e3d0b3c6e988aa6e086ed248aac
2017-07-08 12:59:19 +02:00
Kunal Mehta
66e8e29ea6
Unbreak BaseBlacklist::getTypeFromTitle() and add tests
...
The first part of the title is supposed to be capitalized, so call
ucfirst on it, and then make blacklist and whitelist lowercase. Add
tests to verify the known blacklist and whitelist types are recognized
correctly.
This will make validation of SpamBlacklist messages upon edit work
again.
Bug: T169838
Change-Id: I98688362f222ab65115fbec46e0f67587d19022d
2017-07-08 01:39:16 +00:00
Umherirrender
3c4e117932
Add phpcs and make pass
...
Change-Id: I623a982fe6362daab34906a111d123f19676dc22
2017-06-06 18:29:27 +02:00
Reedy
dcfde5b39f
Replace Revision::getText()
...
Bug: T147380
Change-Id: I07c80b57fd2c8f9264dd30dd9293f0ac4dcb6071
2016-10-05 00:33:30 +01:00
Aaron Schulz
d29aca496a
Improve use of edit stash hook to check links
...
In the common case where no banned links were found, cache this
information to skip the checks on save.
Change-Id: I5f936622bc62d9fc905edaa2a69f52388c047d10
2016-07-10 16:17:51 -07:00
Kunal Mehta
0d9494cc45
Fix file permissions
...
Change-Id: I19de3ded6b17cdde7edce45ba3dee4dccfd29725
2016-06-09 16:18:31 -07:00
Aaron Schulz
2acfb30bfc
Pre-cache the link list for external link filters
...
* This works via plugging into ApiStashEdit.
* The query is relatively slow per performance.wikimedia.org/xenon/svgs/daily/2016-02-15.index.svgz.
Change-Id: I0ad5289324b5482db7e2276f58fc1ac140250d47
2016-02-18 14:36:42 +00:00
umherirrender
bd42360e7a
PHP 7 compatibility: Fix variable interpolation in BaseBlacklist.php
...
Bug: T115254
Change-Id: Ibfb54f573e27f6048c2266cf4cdf06121d86ba9f
2015-12-03 19:41:12 +01:00
Aaron Schulz
bc34d32d50
Update getWithSetCallback() callers to the newer signature
...
Change-Id: I7f1290195e1a4be074703537b9384646d068b487
2015-10-07 19:19:08 -07:00
Aaron Schulz
7a02693e9b
Added local blacklist caching
...
* Also cleaned up the shared blacklist keys
* The cache keys now use getWithSetCallback(), which does
things like preemptive re-caching to avoid cache slams
Change-Id: Ifda27edaf76770e84b4ece711d3c8bcb8e924674
2015-07-30 23:03:50 +00:00
Aaron Schulz
47f14e51c3
Made getArticleText() plausibly work unlike before
...
* This could only have worked with local pages before.
Change-Id: Iebc7b77249105d896c3f3b49119ff0b5ba56f204
2015-07-28 14:21:24 -07:00
jenkins-bot
3ba94f683b
Merge "Declare BaseBlacklist::filter interface to avoid IDE warnings"
2015-06-25 17:57:51 +00:00
Aaron Schulz
5908dd9a3d
Declare BaseBlacklist::filter interface to avoid IDE warnings
...
Change-Id: I84ee4bcb370d2027f5879a921455fffc9a808e9a
2015-06-25 10:54:35 -07:00
Marius Hoch
496508099f
Support protocol relative and https URLs
...
Bug: T94591
Change-Id: I42c6ed218293fdd86495a54b1b1828cc68d474ae
2015-06-16 01:34:57 +02:00
Aaron Schulz
ca55c42a1e
Conversion to using WAN cache
...
Bug: T93141
Change-Id: I67fa3e6e6d348953472a565bdbeccd8298c80f58
2015-04-30 01:32:35 +00:00
Chad Horohoe
d46d9b0c51
Remove obvious function-level profiling
...
Change-Id: I2270b936a1502df07f0dae529b0180908c70c58a
2015-02-10 14:07:45 -08:00
Ori Livneh
5fc93321a7
MWException -> Exception
...
Change-Id: I42842b0d8061d47b53847be6019fe1aed6dc13c9
2015-01-09 19:04:35 -08:00
Siebrand Mazeland
e9874344aa
Maintenance for SpamBlacklist extension.
...
* Replace deprecated methods. MediaWiki 1.19 required.
* Replace <tt> with <code>.
* Update documentation.
* Use WikiPage instead of Article for doEdit().
* Use __DIR__ instead of dirname( __FILE__ ).
* Remove superfluous newlines.
Change-Id: I3a0e42ca404638f7c7934c316735ad11cbc99d42
2012-09-03 16:50:18 +02:00
John Du Hart
aaf4d74d18
Adding Email blacklisting to the SpamBlacklist extension
...
This relies on r109111
2012-01-18 23:29:37 +00:00
John Du Hart
62b2bde146
Refactored SpamBlacklist to be extendable for other blacklist types
...
This is the groundwork for Bug 33761
2012-01-17 06:13:46 +00:00