From 130517e6d49391b16ec27d4b2ce534c1460c3e1c Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 19 Dec 2013 13:32:52 +0100 Subject: [PATCH] Update docs for Revision::getRevisionText() Change-Id: I9e4218bec9fd69a50e06ba9fcd8bdf8461163a47 --- includes/Revision.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/Revision.php b/includes/Revision.php index 71b1858687..1ad0b4a3c1 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -1203,15 +1203,15 @@ class Revision implements IDBAccessObject { /** * 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__ ); -- 2.20.1