Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/50949


Change subject: Added missing @deprecated doc to File and Title
......................................................................

Added missing @deprecated doc to File and Title

Change-Id: I32bd054e97905a5a763e47daecf4be615981a3ff
---
M includes/Title.php
M includes/filerepo/file/File.php
2 files changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/49/50949/1

diff --git a/includes/Title.php b/includes/Title.php
index 40e5b09..b0a6a00 100644
--- a/includes/Title.php
+++ b/includes/Title.php
@@ -1297,6 +1297,7 @@
         * 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 @@
         * @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 @@
         *
         * @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 @@
         * @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 bf2749f..265e27e 100644
--- a/includes/filerepo/file/File.php
+++ b/includes/filerepo/file/File.php
@@ -1758,6 +1758,7 @@
         *             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 @@
         * @param $path string
         *
         * @return bool|string False on failure
+        * @deprecated since 1.19
         */
        static function sha1Base36( $path ) {
                wfDeprecated( __METHOD__, '1.19' );

-- 
To view, visit https://gerrit.wikimedia.org/r/50949
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I32bd054e97905a5a763e47daecf4be615981a3ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to