jenkins-bot has submitted this change and it was merged.
Change subject: Improve getErrorsByType() docs
......................................................................
Improve getErrorsByType() docs
Change-Id: I235a82ee1036d59a0f4929fc2170f261280f9b4d
---
M includes/Status.php
M includes/libs/StatusValue.php
2 files changed, 7 insertions(+), 2 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Status.php b/includes/Status.php
index cc7abc8..3d2c887 100644
--- a/includes/Status.php
+++ b/includes/Status.php
@@ -420,8 +420,11 @@
* Returns a list of status messages of the given type, with message and
* params left untouched, like a sane version of getStatusArray
*
- * @param string $type
+ * Each entry is a map of:
+ * - message: string message key or MessageSpecifier
+ * - params: array list of parameters
*
+ * @param string $type
* @return array
*/
public function getErrorsByType( $type ) {
diff --git a/includes/libs/StatusValue.php b/includes/libs/StatusValue.php
index 10d4c71..1d23f9d 100644
--- a/includes/libs/StatusValue.php
+++ b/includes/libs/StatusValue.php
@@ -197,7 +197,9 @@
/**
* Returns a list of status messages of the given type
*
- * Each entry is a map of (message:string or
MessageSpecifier,params:array))
+ * Each entry is a map of:
+ * - message: string message key or MessageSpecifier
+ * - params: array list of parameters
*
* @param string $type
* @return array
--
To view, visit https://gerrit.wikimedia.org/r/283990
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I235a82ee1036d59a0f4929fc2170f261280f9b4d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits