From fc5b521e19b795cedd2dc4964b1b97272112b90e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sat, 29 Oct 2005 03:01:44 +0000 Subject: [PATCH] * Logic error: $row->namespace not NS_USER --- includes/SpecialMostlinkedcategories.php | 2 +- includes/SpecialWantedpages.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialMostlinkedcategories.php b/includes/SpecialMostlinkedcategories.php index d01e5c5504..84cac96fc6 100644 --- a/includes/SpecialMostlinkedcategories.php +++ b/includes/SpecialMostlinkedcategories.php @@ -49,7 +49,7 @@ class MostlinkedCategoriesPage 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 ); // Back to start for display diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php index bccd6e41a4..5c51083dad 100644 --- a/includes/SpecialWantedpages.php +++ b/includes/SpecialWantedpages.php @@ -57,7 +57,7 @@ class WantedPagesPage 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 ); // Back to start for display -- 2.20.1