From: Matthew Flaschen Date: Fri, 7 Jul 2017 00:01:30 +0000 (-0400) Subject: Clarify what $params is for ApiBase methods to get Title/WikiPage X-Git-Tag: 1.31.0-rc.0~2777^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=27b14fb8985d7bea774d0d612dba433e8ecda146;p=lhc%2Fweb%2Fwiklou.git Clarify what $params is for ApiBase methods to get Title/WikiPage Change-Id: I1bfae270072ba08db967a02a8e30047bc607e3a2 --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 2dcece1ed1..bc3def841f 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -894,7 +894,7 @@ abstract class ApiBase extends ContextSource { * 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 @@ abstract class ApiBase extends ContextSource { * 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 ) {