jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/330736 )
Change subject: Pass 2 parameters to addDeprecation
......................................................................
Pass 2 parameters to addDeprecation
Change-Id: I03288e8cbeb7bbe082a12d19cac0764c395f75ff
---
M api/ApiQueryCodeComments.php
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Chad: Looks good to me, approved
jenkins-bot: Verified
diff --git a/api/ApiQueryCodeComments.php b/api/ApiQueryCodeComments.php
index 38d287d..900d9ee 100644
--- a/api/ApiQueryCodeComments.php
+++ b/api/ApiQueryCodeComments.php
@@ -43,7 +43,8 @@
if ( isset( $this->props['revision'] ) ) {
if ( is_callable( [ $this, 'addDeprecation' ] ) ) {
$this->addDeprecation(
- [
'apiwarn-deprecation-withreplacement', 'ccprop=revision', 'ccprop=status' ]
+ [
'apiwarn-deprecation-withreplacement', 'ccprop=revision', 'ccprop=status' ],
+
'action=query&list=codecomments&ccprop=revision'
);
} else {
$this->setWarning( 'ccprop=revision has been
deprecated in favor of ccprop=status' );
--
To view, visit https://gerrit.wikimedia.org/r/330736
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I03288e8cbeb7bbe082a12d19cac0764c395f75ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CodeReview
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits