Merge "Remove Parser::getDefaultPreprocessorClass(), deprecated in 1.34"

This commit is contained in:
jenkins-bot 2020-03-26 21:20:45 +00:00 committed by Gerrit Code Review
commit 015a265c0d
2 changed files with 1 additions and 12 deletions

View file

@ -426,6 +426,7 @@ because of Phabricator reports.
* HTMLUserTextField and HTMLUsersMultiselectField previously implied
required=true when exists=true. Form fields that use exists=true should also
set required=true if they are required.
* Parser::getDefaultPreprocessorClass(), deprecated in 1.34, has been removed.
* …
=== Deprecations in 1.35 ===

View file

@ -452,18 +452,6 @@ class Parser {
Hooks::run( 'ParserCloned', [ $this ] );
}
/**
* Which class should we use for the preprocessor if not otherwise specified?
*
* @since 1.34
* @deprecated since 1.34, removing configurability of preprocessor
* @return string
*/
public static function getDefaultPreprocessorClass() {
wfDeprecated( __METHOD__, '1.34' );
return Preprocessor_Hash::class;
}
/**
* Do various kinds of initialisation on the first call of the parser
*/