Kaldari has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/335390 )

Change subject: Adding needed prefix to API parameters
......................................................................

Adding needed prefix to API parameters

Change-Id: I72b723a573eea3296e5deb166d18835902bfe0ee
---
M api/ApiQueryPageAssessments.php
M api/ApiQueryProjects.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageAssessments 
refs/changes/90/335390/1

diff --git a/api/ApiQueryPageAssessments.php b/api/ApiQueryPageAssessments.php
index 484bbf7..9ef9783 100644
--- a/api/ApiQueryPageAssessments.php
+++ b/api/ApiQueryPageAssessments.php
@@ -130,7 +130,7 @@
                                => 
'apihelp-query+pageassessments-example-formatversion',
                        'action=query&prop=pageassessments&titles=Apple'
                                => 
'apihelp-query+pageassessments-example-simple',
-                       
'action=query&prop=pageassessments&titles=Apple&subprojects=true'
+                       
'action=query&prop=pageassessments&titles=Apple&pasubprojects=true'
                                => 
'apihelp-query+pageassessments-example-subprojects',
                );
        }
diff --git a/api/ApiQueryProjects.php b/api/ApiQueryProjects.php
index 8c4a167..83f89a2 100644
--- a/api/ApiQueryProjects.php
+++ b/api/ApiQueryProjects.php
@@ -63,7 +63,7 @@
        public function getExamplesMessages() {
                return [
                        'action=query&list=projects' => 
'apihelp-query+projects-example',
-                       'action=query&list=projects&subprojects=true'
+                       'action=query&list=projects&pjsubprojects=true'
                                => 'apihelp-query+projects-example-subprojects',
                ];
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/335390
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72b723a573eea3296e5deb166d18835902bfe0ee
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PageAssessments
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>

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

Reply via email to