Anomie has uploaded a new change for review. https://gerrit.wikimedia.org/r/311793
Change subject: Remove pre-1.25 API compatibility code ...................................................................... Remove pre-1.25 API compatibility code Since this extension uses extension.json, it already requires 1.25+ so no need to keep the old code around. Change-Id: Ifc18b7259d5895e95c4924fa3b963185d4bda1e3 --- M api/ApiSpamBlacklist.php 1 file changed, 0 insertions(+), 26 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SpamBlacklist refs/changes/93/311793/1 diff --git a/api/ApiSpamBlacklist.php b/api/ApiSpamBlacklist.php index 9c5ce3d..eb468a4 100644 --- a/api/ApiSpamBlacklist.php +++ b/api/ApiSpamBlacklist.php @@ -56,32 +56,6 @@ } /** - * @deprecated since MediaWiki core 1.25 - */ - public function getParamDescription() { - return array( - 'url' => 'A pipe-separated list of URLs to validate against the blacklist', - ); - } - - /** - * @deprecated since MediaWiki core 1.25 - */ - public function getDescription() { - return 'Validate one or more URLs against the SpamBlacklist.'; - } - - /** - * @deprecated since MediaWiki core 1.25 - */ - public function getExamples() { - return array( - 'api.php?action=spamblacklist&url=http%3A%2F%2Fwww.example.com%2F%7Chttp%3A%2F%2Fwww.example.org%2F', - 'api.php?action=spamblacklist&url=https%3A%2F%2Fwww.example.net%2Findex.php', - ); - } - - /** * @see ApiBase::getExamplesMessages() */ protected function getExamplesMessages() { -- To view, visit https://gerrit.wikimedia.org/r/311793 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifc18b7259d5895e95c4924fa3b963185d4bda1e3 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SpamBlacklist Gerrit-Branch: master Gerrit-Owner: Anomie <bjor...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits