diff options
Diffstat (limited to 'includes/api/ApiFormatBase.php')
-rw-r--r-- | includes/api/ApiFormatBase.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index 15551f26389e..ee48d184a400 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -20,6 +20,9 @@ * @file */ +namespace MediaWiki\Api; + +use HttpStatus; use MediaWiki\Context\DerivativeContext; use MediaWiki\Html\Html; use MediaWiki\Json\FormatJson; @@ -400,3 +403,6 @@ abstract class ApiFormatBase extends ApiBase { * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker */ + +/** @deprecated class alias since 1.43 */ +class_alias( ApiFormatBase::class, 'ApiFormatBase' ); |