[MediaWiki-commits] [Gerrit] mediawiki...AntiSpoof[master]: Remove pre-1.25 API compatibility code
jenkins-bot has submitted this change and it was merged. 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: Ifdaa436ec34ec991fecee91beaa67f4cc1b213d0 --- M api/ApiAntiSpoof.php 1 file changed, 0 insertions(+), 25 deletions(-) Approvals: Jforrester: Looks good to me, approved jenkins-bot: Verified diff --git a/api/ApiAntiSpoof.php b/api/ApiAntiSpoof.php index b0e3b92..412ca54 100644 --- a/api/ApiAntiSpoof.php +++ b/api/ApiAntiSpoof.php @@ -59,31 +59,6 @@ } /** -* @deprecated since MediaWiki core 1.25 -*/ - public function getParamDescription() { - return array( - 'username' => 'The username to check against AntiSpoof', - ); - } - - /** -* @deprecated since MediaWiki core 1.25 -*/ - public function getDescription() { - return 'Check a username against AntiSpoof\'s normalisation checks.'; - } - - /** -* @deprecated since MediaWiki core 1.25 -*/ - public function getExamples() { - return array( - 'api.php?action=antispoof&username=Foo', - ); - } - - /** * @see ApiBase::getExamplesMessages() */ protected function getExamplesMessages() { -- To view, visit https://gerrit.wikimedia.org/r/311773 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ifdaa436ec34ec991fecee91beaa67f4cc1b213d0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/AntiSpoof Gerrit-Branch: master Gerrit-Owner: Anomie Gerrit-Reviewer: Jforrester Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...AntiSpoof[master]: Remove pre-1.25 API compatibility code
Anomie has uploaded a new change for review. https://gerrit.wikimedia.org/r/311773 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: Ifdaa436ec34ec991fecee91beaa67f4cc1b213d0 --- M api/ApiAntiSpoof.php 1 file changed, 0 insertions(+), 25 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AntiSpoof refs/changes/73/311773/1 diff --git a/api/ApiAntiSpoof.php b/api/ApiAntiSpoof.php index b0e3b92..412ca54 100644 --- a/api/ApiAntiSpoof.php +++ b/api/ApiAntiSpoof.php @@ -59,31 +59,6 @@ } /** -* @deprecated since MediaWiki core 1.25 -*/ - public function getParamDescription() { - return array( - 'username' => 'The username to check against AntiSpoof', - ); - } - - /** -* @deprecated since MediaWiki core 1.25 -*/ - public function getDescription() { - return 'Check a username against AntiSpoof\'s normalisation checks.'; - } - - /** -* @deprecated since MediaWiki core 1.25 -*/ - public function getExamples() { - return array( - 'api.php?action=antispoof&username=Foo', - ); - } - - /** * @see ApiBase::getExamplesMessages() */ protected function getExamplesMessages() { -- To view, visit https://gerrit.wikimedia.org/r/311773 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifdaa436ec34ec991fecee91beaa67f4cc1b213d0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/AntiSpoof Gerrit-Branch: master Gerrit-Owner: Anomie ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits