From 27b14fb8985d7bea774d0d612dba433e8ecda146 Mon Sep 17 00:00:00 2001 From: Matthew Flaschen Date: Thu, 6 Jul 2017 20:01:30 -0400 Subject: [PATCH] Clarify what $params is for ApiBase methods to get Title/WikiPage Change-Id: I1bfae270072ba08db967a02a8e30047bc607e3a2 --- includes/api/ApiBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.20.1