From d6425d7fc9dd1ba118654b91af59e589637301ce Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Fri, 2 Apr 2004 20:19:20 +0000 Subject: [PATCH] fixing category links, nth time --- includes/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 7f7ed17ac6..fd67360af5 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -31,13 +31,13 @@ function getCategories () { global $wgOut , $wgTitle , $wgUseCategoryMagic , $wgUser , $wgParser ; if ( !isset ( $wgUseCategoryMagic ) || !$wgUseCategoryMagic ) return "" ; - if ( count ( $wgParser->mCategoryLinks ) == 0 ) return "" ; + if ( count ( $wgOut->mCategoryLinks ) == 0 ) return "" ; if ( !$wgOut->isArticle() ) return "" ; $sk = $wgUser->getSkin() ; $s = "" ; $s .= "\n
\n"; $s .= $sk->makeKnownLink ( "Special:Categories" , "Categories" , "article=".$wgTitle->getDBkey() ) ; - $t = implode ( " | " , $wgParser->mCategoryLinks ) ; + $t = implode ( " | " , $wgOut->mCategoryLinks ) ; if ( $t != "" ) $s .= " : " ; $s .= $t ; return $s ; -- 2.20.1