Added missing @deprecated doc to File and Title
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 26 Feb 2013 20:16:46 +0000 (21:16 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 27 Feb 2013 07:26:24 +0000 (07:26 +0000)
Change-Id: I32bd054e97905a5a763e47daecf4be615981a3ff

includes/Title.php
includes/filerepo/file/File.php

index 40e5b09..b0a6a00 100644 (file)
@@ -1297,6 +1297,7 @@ class Title {
         * Used for the title field in <a> tags.
         *
         * @return String the text, including any prefixes
+        * @deprecated since 1.19
         */
        public function getEscapedText() {
                wfDeprecated( __METHOD__, '1.19' );
@@ -1528,6 +1529,7 @@ class Title {
         * @param $query string
         * @param $query2 bool|string
         * @return String the URL
+        * @deprecated since 1.19
         */
        public function escapeLocalURL( $query = '', $query2 = false ) {
                wfDeprecated( __METHOD__, '1.19' );
@@ -1542,6 +1544,7 @@ class Title {
         *
         * @see self::getLocalURL
         * @return String the URL
+        * @deprecated since 1.19
         */
        public function escapeFullURL( $query = '', $query2 = false ) {
                wfDeprecated( __METHOD__, '1.19' );
@@ -1599,6 +1602,7 @@ class Title {
         * @see self::getLocalURL
         * @since 1.18
         * @return string
+        * @deprecated since 1.19
         */
        public function escapeCanonicalURL( $query = '', $query2 = false ) {
                wfDeprecated( __METHOD__, '1.19' );
index bf2749f..265e27e 100644 (file)
@@ -1758,6 +1758,7 @@ abstract class File {
         *             Set it to false to ignore the extension.
         *
         * @return array
+        * @deprecated since 1.19
         */
        static function getPropsFromPath( $path, $ext = true ) {
                wfDebug( __METHOD__ . ": Getting file info for $path\n" );
@@ -1777,6 +1778,7 @@ abstract class File {
         * @param $path string
         *
         * @return bool|string False on failure
+        * @deprecated since 1.19
         */
        static function sha1Base36( $path ) {
                wfDeprecated( __METHOD__, '1.19' );