Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/102655
Change subject: Update docs for Revision::getRevisionText()
......................................................................
Update docs for Revision::getRevisionText()
Change-Id: I9e4218bec9fd69a50e06ba9fcd8bdf8461163a47
---
M includes/Revision.php
1 file changed, 8 insertions(+), 8 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/55/102655/1
diff --git a/includes/Revision.php b/includes/Revision.php
index f066110..56360ed 100644
--- a/includes/Revision.php
+++ b/includes/Revision.php
@@ -1214,15 +1214,15 @@
/**
* Get revision text associated with an old or archive row
* $row is usually an object from wfFetchRow(), both the flags and the
text
- * field must be included
+ * field must be included.
*
- * @param $row Object: the text data
- * @param string $prefix table prefix (default 'old_')
- * @param string|false $wiki the name of the wiki to load the revision
text from
- * (same as the the wiki $row was loaded from) or false to
indicate the local
- * wiki (this is the default). Otherwise, it must be a
symbolic wiki database
- * identifier as understood by the LoadBalancer class.
- * @return String: text the text requested or false on failure
+ * @param stdClass $row The text data
+ * @param string $prefix Table prefix (default 'old_')
+ * @param string|bool $wiki The name of the wiki to load the revision
text from
+ * (same as the the wiki $row was loaded from) or false to indicate
the local
+ * wiki (this is the default). Otherwise, it must be a symbolic wiki
database
+ * identifier as understood by the LoadBalancer class.
+ * @return string Text the text requested or false on failure
*/
public static function getRevisionText( $row, $prefix = 'old_', $wiki =
false ) {
wfProfileIn( __METHOD__ );
--
To view, visit https://gerrit.wikimedia.org/r/102655
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e4218bec9fd69a50e06ba9fcd8bdf8461163a47
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits