jenkins-bot has submitted this change and it was merged. (
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(-)
Approvals:
Mattflaschen: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I1bfae270072ba08db967a02a8e30047bc607e3a2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits