Hard deprecate a trio of functions from Language.php
authorC. Scott Ananian <cscott@cscott.net>
Wed, 13 Jun 2018 17:48:02 +0000 (13:48 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Wed, 13 Jun 2018 17:48:02 +0000 (13:48 -0400)
These have been soft deprecated since 1.28; let's start the process of
actually removing them.

Change-Id: I33bb6f501e5df419683d06fb9e4516fddc03741b

languages/Language.php

index d762a57..1623c36 100644 (file)
@@ -2952,6 +2952,7 @@ class Language {
         * @deprecated No-op since 1.28
         */
        function initEncoding() {
+               wfDeprecated( __METHOD__, '1.28' );
                // No-op.
        }
 
@@ -2961,6 +2962,7 @@ class Language {
         * @deprecated No-op since 1.28
         */
        function recodeForEdit( $s ) {
+               wfDeprecated( __METHOD__, '1.28' );
                return $s;
        }
 
@@ -2970,6 +2972,7 @@ class Language {
         * @deprecated No-op since 1.28
         */
        function recodeInput( $s ) {
+               wfDeprecated( __METHOD__, '1.28' );
                return $s;
        }