X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FRevision.php;h=1ad0b4a3c14db822b369689fbe0f156e5d87b170;hb=acaaccac52ef21a1d537e78cc845be416fe5b72f;hp=f066110124f57799a3179d84709f0815d40a24cd;hpb=df3e7a01136596b32c0d542bfdf29b0b475c0b0a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Revision.php b/includes/Revision.php index f066110124..1ad0b4a3c1 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -1010,17 +1010,6 @@ class Revision implements IDBAccessObject { } } - /** - * Alias for getText(Revision::FOR_THIS_USER) - * - * @deprecated since 1.17 - * @return String - */ - public function revText() { - wfDeprecated( __METHOD__, '1.17' ); - return $this->getText( self::FOR_THIS_USER ); - } - /** * Fetch revision text without regard for view restrictions * @@ -1214,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__ );