From e0ef9cda6a675d7c790c90c7e41b3fed7b068e7e Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Wed, 20 Apr 2011 17:34:29 +0000 Subject: [PATCH] Follow-up r86048: fix fatal, and deprecated Skin static method call. --- includes/specials/SpecialListusers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialListusers.php b/includes/specials/SpecialListusers.php index a667e69994..48d6a85282 100644 --- a/includes/specials/SpecialListusers.php +++ b/includes/specials/SpecialListusers.php @@ -129,7 +129,7 @@ class UsersPager extends AlphabeticPager { return ''; $userPage = Title::makeTitle( NS_USER, $row->user_name ); - $name = $this->getSkin()->link( $userPage, htmlspecialchars( $userPage->getText() ) ); + $name = Linker::link( $userPage, htmlspecialchars( $userPage->getText() ) ); $groups_list = self::getGroups( $row->user_id ); if( count( $groups_list ) > 0 ) { @@ -305,7 +305,7 @@ class SpecialListUsers extends SpecialPage { $s .= Html::rawElement( 'ul', array(), $usersbody ); $s .= $up->getNavigationBar(); } else { - $s .= wfMessage( 'listusers-noresult' )->parseBlock(); + $s .= wfMessage( 'listusers-noresult' )->parseAsBlock(); } $wgOut->addHTML( $s ); -- 2.20.1