Gerrit Patch Uploader has uploaded a new change for review. https://gerrit.wikimedia.org/r/251324
Change subject: API: Remove unused parameter exvariant ...................................................................... API: Remove unused parameter exvariant All API calls supports the generic parameter variant. With I8a31dfd3cf2a3e8f768907084d26a77f198ccbe3 in core this parameter is documented and generates no warning anymore. Bug: T117529 Change-Id: Ic7e6f1df99c67ad4132c22503d99345611af271a --- M i18n/en.json M i18n/qqq.json M includes/ApiQueryExtracts.php 3 files changed, 0 insertions(+), 8 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TextExtracts refs/changes/24/251324/1 diff --git a/i18n/en.json b/i18n/en.json index eb5eafb..2e74b9f 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -10,6 +10,5 @@ "apihelp-query+extracts-param-intro": "Return only content before the first section.", "apihelp-query+extracts-param-plaintext": "Return extracts as plain text instead of limited HTML.", "apihelp-query+extracts-param-sectionformat": "How to format sections in plaintext mode:\n;plain:No formatting.\n;wiki:Wikitext-style formatting (== like this ==).\n;raw:This module's internal representation (section titles prefixed with <ASCII 1><ASCII 2><section level><ASCII 2><ASCII 1>).", - "apihelp-query+extracts-param-variant": "Convert content into this language variant.", "apihelp-query+extracts-example-1": "Get a 175-character extract" } diff --git a/i18n/qqq.json b/i18n/qqq.json index cde1e10..791975d 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -8,6 +8,5 @@ "apihelp-query+extracts-param-intro": "{{doc-apihelp-param|query+extracts|intro}}", "apihelp-query+extracts-param-plaintext": "{{doc-apihelp-param|query+extracts|plaintext}}", "apihelp-query+extracts-param-sectionformat": "{{doc-apihelp-param|query+extracts|sectionformat}}", - "apihelp-query+extracts-param-variant": "{{doc-apihelp-param|query+extracts|variant}}", "apihelp-query+extracts-example-1": "{{doc-apihelp-example|query+extracts}}" } diff --git a/includes/ApiQueryExtracts.php b/includes/ApiQueryExtracts.php index 24dd0dd..1a04a8d 100644 --- a/includes/ApiQueryExtracts.php +++ b/includes/ApiQueryExtracts.php @@ -362,11 +362,6 @@ /** @todo Once support for MediaWiki < 1.25 is dropped, just use ApiBase::PARAM_HELP_MSG directly */ defined( 'ApiBase::PARAM_HELP_MSG' ) ? ApiBase::PARAM_HELP_MSG : '' => 'api-help-param-continue', ), - // Used implicitly by LanguageConverter - 'variant' => array( - ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_DFLT => false, - ), ); } @@ -387,7 +382,6 @@ " raw - This module's internal representation (section titles prefixed with <ASCII 1><ASCII 2><section level><ASCII 2><ASCII 1>", ), 'continue' => 'When more results are available, use this to continue', - 'variant' => 'Convert content into this language variant`', ); } -- To view, visit https://gerrit.wikimedia.org/r/251324 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic7e6f1df99c67ad4132c22503d99345611af271a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/TextExtracts Gerrit-Branch: master Gerrit-Owner: Gerrit Patch Uploader <gerritpatchuploa...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits