From: Happy-melon Date: Wed, 20 Apr 2011 17:34:29 +0000 (+0000) Subject: Follow-up r86048: fix fatal, and deprecated Skin static method call. X-Git-Tag: 1.31.0-rc.0~30674 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=e0ef9cda6a675d7c790c90c7e41b3fed7b068e7e;p=lhc%2Fweb%2Fwiklou.git Follow-up r86048: fix fatal, and deprecated Skin static method call. --- 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 );