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

Change subject: Clarify what $params is for ApiBase methods to get 
Title/WikiPage
......................................................................

Clarify what $params is for ApiBase methods to get Title/WikiPage

Change-Id: I1bfae270072ba08db967a02a8e30047bc607e3a2
---
M includes/api/ApiBase.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/54/363754/1

diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php
index 2dcece1..bc3def8 100644
--- a/includes/api/ApiBase.php
+++ b/includes/api/ApiBase.php
@@ -894,7 +894,7 @@
         * Get a WikiPage object from a title or pageid param, if possible.
         * Can die, if no param is set or if the title or page id is not valid.
         *
-        * @param array $params
+        * @param array $params User provided set of parameters, as from 
$this->extractRequestParams()
         * @param bool|string $load Whether load the object's state from the 
database:
         *        - false: don't load (if the pageid is given, it will still be 
loaded)
         *        - 'fromdb': load from a replica DB
@@ -935,7 +935,7 @@
         * Can die, if no param is set or if the title or page id is not valid.
         *
         * @since 1.29
-        * @param array $params
+        * @param array $params User provided set of parameters, as from 
$this->extractRequestParams()
         * @return Title
         */
        public function getTitleFromTitleOrPageId( $params ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1bfae270072ba08db967a02a8e30047bc607e3a2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>

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

Reply via email to