Reedy has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CodeReview 
refs/changes/36/330736/1

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: newchange
Gerrit-Change-Id: I03288e8cbeb7bbe082a12d19cac0764c395f75ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CodeReview
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to