Scripts and data used for generating ZhConversion.php
[lhc/web/wiklou.git] / includes / SpecialListusers.php
index 576e31b..c25da6b 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 /**
  *
+ * @package MediaWiki
+ * @subpackage SpecialPage
  */
 
 /**
@@ -13,6 +15,8 @@ require_once("QueryPage.php");
  * rights (sysop, bureaucrat, developer) will have them displayed
  * next to their names.
  *
+ * @package MediaWiki
+ * @subpackage SpecialPage
  */
 class ListUsersPage extends QueryPage {
 
@@ -34,11 +38,11 @@ class ListUsersPage extends QueryPage {
        }
 
        function formatResult( $skin, $result ) {
-               global $wgLang;
-               $name = $skin->makeLink( $wgLang->getNsText($result->namespace) . ':' . $result->title, $result->title );
+               global $wgContLang;
+               $name = $skin->makeLink( $wgContLang->getNsText($result->namespace) . ':' . $result->title, $result->title );
                if( '' != $result->type ) {
                        $name .= ' (' .
-                       $skin->makeLink( wfMsg( "administrators" ), $result->type) .
+                       $skin->makeLink( wfMsgForContent( "administrators" ), $result->type) .
                        ')';
                }
                return $name;