diff --git a/includes/CommentFormatter/CommentFormatter.php b/includes/CommentFormatter/CommentFormatter.php index 8ff7e64de29..017cb0d59fc 100644 --- a/includes/CommentFormatter/CommentFormatter.php +++ b/includes/CommentFormatter/CommentFormatter.php @@ -2,6 +2,7 @@ namespace MediaWiki\CommentFormatter; +use MediaWiki\Linker\Linker; use MediaWiki\Linker\LinkTarget; use MediaWiki\Permissions\Authority; use MediaWiki\Revision\RevisionRecord; @@ -400,7 +401,7 @@ class CommentFormatter { $block = " " . wfMessage( 'rev-deleted-comment' )->escaped() . ""; } if ( $revRecord->isDeleted( RevisionRecord::DELETED_COMMENT ) ) { - $class = \MediaWiki\Linker\Linker::getRevisionDeletedClass( $revRecord ); + $class = Linker::getRevisionDeletedClass( $revRecord ); return " $block"; } return $block;