From: Magnus Manske Date: Fri, 2 Apr 2004 20:19:20 +0000 (+0000) Subject: fixing category links, nth time X-Git-Tag: 1.3.0beta1~635 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/fiche.php?a=commitdiff_plain;h=d6425d7fc9dd1ba118654b91af59e589637301ce;p=lhc%2Fweb%2Fwiklou.git fixing category links, nth time --- 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 ;