Remove deprecated ParserOutput::legacyOptions
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 8 Mar 2019 22:31:01 +0000 (14:31 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 12 Mar 2019 05:50:47 +0000 (22:50 -0700)
Change-Id: I5f32dd741f3ee795ec599aacb687d5cee2c52835

RELEASE-NOTES-1.33
includes/parser/ParserOptions.php

index c325419..694dc46 100644 (file)
@@ -285,6 +285,8 @@ because of Phabricator reports.
 * Language::markNoConversion, deprecated in 1.32, has been removed. Use
   LanguageConverter::markNoConversion instead.
 * BagOStuff::modifySimpleRelayEvent() method has been removed.
+* ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed.
+  Use ParserOutput::allCacheVaryingOptions instead.
 
 === Deprecations in 1.33 ===
 * The configuration option $wgUseESI has been deprecated, and is expected
index a69e805..bdca848 100644 (file)
@@ -1261,25 +1261,6 @@ class ParserOptions {
                }
        }
 
-       /**
-        * Returns the full array of options that would have been used by
-        * in 1.16.
-        * Used to get the old parser cache entries when available.
-        * @deprecated since 1.30. You probably want self::allCacheVaryingOptions() instead.
-        * @return string[]
-        */
-       public static function legacyOptions() {
-               wfDeprecated( __METHOD__, '1.30' );
-               return [
-                       'stubthreshold',
-                       'numberheadings',
-                       'userlang',
-                       'thumbsize',
-                       'editsection',
-                       'printable'
-               ];
-       }
-
        /**
         * Return all option keys that vary the options hash
         * @since 1.30