diff options
Diffstat (limited to 'CommentStreams/includes/CommentStreamsUtils.php')
-rw-r--r-- | CommentStreams/includes/CommentStreamsUtils.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CommentStreams/includes/CommentStreamsUtils.php b/CommentStreams/includes/CommentStreamsUtils.php index 10d3446e..1e09303c 100644 --- a/CommentStreams/includes/CommentStreamsUtils.php +++ b/CommentStreams/includes/CommentStreamsUtils.php @@ -19,7 +19,11 @@ * DEALINGS IN THE SOFTWARE. */ +namespace MediaWiki\Extension\CommentStreams; + +use Linker; use MediaWiki\MediaWikiServices; +use Title; class CommentStreamsUtils { @@ -33,7 +37,7 @@ class CommentStreamsUtils { if ( method_exists( 'MediaWikiServices', 'getLinkRenderer' ) ) { $linkRenderer = MediaWikiServices::getInstance()->getLinkRenderer(); return $linkRenderer->makeLink( $title, $display ); - }; + } return Linker::link( $title, $display ); } } |