From: Siebrand Mazeland Date: Thu, 19 Dec 2013 12:32:52 +0000 (+0100) Subject: Update docs for Revision::getRevisionText() X-Git-Tag: 1.31.0-rc.0~17433 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=130517e6d49391b16ec27d4b2ce534c1460c3e1c;p=lhc%2Fweb%2Fwiklou.git Update docs for Revision::getRevisionText() Change-Id: I9e4218bec9fd69a50e06ba9fcd8bdf8461163a47 --- 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__ );