* NS_USER => $row->namespace (it's going to be the same anyway)
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sat, 29 Oct 2005 03:03:10 +0000 (03:03 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sat, 29 Oct 2005 03:03:10 +0000 (03:03 +0000)
includes/SpecialListusers.php

index fc664e0..62bfb88 100644 (file)
@@ -61,7 +61,7 @@ class ListUsersPage extends QueryPage {
                
                $batch = new LinkBatch;
                while ( $row = $db->fetchObject( $res ) ) {
-                       $batch->addObj( Title::makeTitleSafe( NS_USER, $row->title ) );
+                       $batch->addObj( Title::makeTitleSafe( $row->namespace, $row->title ) );
                }
                $batch->execute( $wgLinkCache );