jenkins-bot has submitted this change and it was merged.
Change subject: Documentation: Parameters to diffRevision template helper
......................................................................
Documentation: Parameters to diffRevision template helper
Change-Id: I95d266161f213aa71f795ff3932b9c421e3cb30d
---
M includes/TemplateHelper.php
1 file changed, 8 insertions(+), 9 deletions(-)
Approvals:
Jdlrobson: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/TemplateHelper.php b/includes/TemplateHelper.php
index 3f2378a..624a507 100644
--- a/includes/TemplateHelper.php
+++ b/includes/TemplateHelper.php
@@ -560,15 +560,14 @@
}
/**
- * @param $diffContent
- * @param $oldTimestamp
- * @param $newTimestamp
- * @param $oldAuthor
- * @param $newAuthor
- * @param $oldLink
- * @param $newLink
- *
- * @return array
+ * @param $diffContent Plain text output of
DifferenceEngine::getDiffBody
+ * @param $oldTimestamp Time when the `old` content was created
+ * @param $newTimestamp Time when the `new` content was created
+ * @param $oldAuthor Creator of the `old` content
+ * @param $newAuthor Creator of the `new` content
+ * @param $oldLink Url pointing to `old` content
+ * @param $newLink Url pointing to `new` content
+ * @return array HTML wrapped in array to prevent lightncandy from
escaping
*/
static public function diffRevision( $diffContent, $oldTimestamp,
$newTimestamp, $oldAuthor, $newAuthor, $oldLink, $newLink ) {
$differenceEngine = new \DifferenceEngine();
--
To view, visit https://gerrit.wikimedia.org/r/140962
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I95d266161f213aa71f795ff3932b9c421e3cb30d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: frontend-rewrite
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits