diff options
Diffstat (limited to 'includes/parser/Preprocessor.php')
-rw-r--r-- | includes/parser/Preprocessor.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/includes/parser/Preprocessor.php b/includes/parser/Preprocessor.php index 9f003c74eb46..5fa8ca76d685 100644 --- a/includes/parser/Preprocessor.php +++ b/includes/parser/Preprocessor.php @@ -21,7 +21,8 @@ * @ingroup Parser */ -use MediaWiki\Parser\Parser; +namespace MediaWiki\Parser; + use Wikimedia\ObjectCache\WANObjectCache; /** @@ -147,3 +148,6 @@ abstract class Preprocessor { */ abstract public function preprocessToObj( $text, $flags = 0 ); } + +/** @deprecated class alias since 1.43 */ +class_alias( Preprocessor::class, 'Preprocessor' ); |