From ede771f428a48113274cc5634ed6bb2dd80fa1b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 13 Sep 2005 17:33:33 +0000 Subject: [PATCH] * Added a FIXME * code style --- includes/SpecialMostlinked.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/includes/SpecialMostlinked.php b/includes/SpecialMostlinked.php index 008a2d4123..c7926380bb 100644 --- a/includes/SpecialMostlinked.php +++ b/includes/SpecialMostlinked.php @@ -14,13 +14,8 @@ require_once ( 'QueryPage.php' ) ; */ class MostlinkedPage extends QueryPage { - function getName() { - return 'Mostlinked'; - } - - function isExpensive() { - return true; - } + function getName() { return 'Mostlinked'; } + function isExpensive() { return true; } function isSyndicated() { return false; } function getSQL() { @@ -31,6 +26,7 @@ class MostlinkedPage extends QueryPage { pl_namespace AS namespace, pl_title AS title, COUNT(*) AS value, + -- FIXME: The presence of this is a bug page_namespace FROM $pagelinks LEFT JOIN $page ON pl_namespace=page_namespace AND pl_title=page_title -- 2.20.1