Index: trunk/phase3/includes/SpecialMostlinkedcategories.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | |
51 | 51 | $batch = new LinkBatch; |
52 | 52 | while ( $row = $db->fetchObject( $res ) ) |
53 | | - $batch->addObj( Title::makeTitleSafe( NS_USER, $row->title ) ); |
| 53 | + $batch->addObj( Title::makeTitleSafe( $row->namespace, $row->title ) ); |
54 | 54 | $batch->execute( $wgLinkCache ); |
55 | 55 | |
56 | 56 | // Back to start for display |
Index: trunk/phase3/includes/SpecialWantedpages.php |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | |
59 | 59 | $batch = new LinkBatch; |
60 | 60 | while ( $row = $db->fetchObject( $res ) ) |
61 | | - $batch->addObj( Title::makeTitleSafe( NS_USER, $row->title ) ); |
| 61 | + $batch->addObj( Title::makeTitleSafe( $row->namespace, $row->title ) ); |
62 | 62 | $batch->execute( $wgLinkCache ); |
63 | 63 | |
64 | 64 | // Back to start for display |