Consistently use '@deprecated since <version>'
[lhc/web/wiklou.git] / includes / Revision.php
index f066110..797980f 100644 (file)
@@ -975,7 +975,7 @@ class Revision implements IDBAccessObject {
         * @param $user User object to check for, only if FOR_THIS_USER is passed
         *              to the $audience parameter
         *
-        * @deprecated in 1.21, use getContent() instead
+        * @deprecated since 1.21, use getContent() instead
         * @todo Replace usage in core
         * @return String
         */
@@ -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__ );