From 183b4dbedb3094d8268db9c754271d672bea4cb8 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Tue, 26 Feb 2013 21:16:46 +0100 Subject: [PATCH] Added missing @deprecated doc to File and Title Change-Id: I32bd054e97905a5a763e47daecf4be615981a3ff --- includes/Title.php | 4 ++++ includes/filerepo/file/File.php | 2 ++ 2 files changed, 6 insertions(+) diff --git a/includes/Title.php b/includes/Title.php index 40e5b09b6e..b0a6a00734 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1297,6 +1297,7 @@ class Title { * Used for the title field in 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' ); diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php index bf2749fad4..265e27ed6b 100644 --- a/includes/filerepo/file/File.php +++ b/includes/filerepo/file/File.php @@ -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' ); -- 2.20.1