aboutsummaryrefslogtreecommitdiffstats
path: root/includes/parser/MWTidy.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/parser/MWTidy.php')
-rw-r--r--includes/parser/MWTidy.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/parser/MWTidy.php b/includes/parser/MWTidy.php
index b44631132f8f..7c1e4cabfb06 100644
--- a/includes/parser/MWTidy.php
+++ b/includes/parser/MWTidy.php
@@ -21,6 +21,8 @@
* @ingroup Parser
*/
+namespace MediaWiki\Parser;
+
use MediaWiki\MediaWikiServices;
/**
@@ -43,3 +45,6 @@ class MWTidy {
return MediaWikiServices::getInstance()->getTidy()->tidy( $text );
}
}
+
+/** @deprecated class alias since 1.43 */
+class_alias( MWTidy::class, 'MWTidy' );