From 791d9834919e796ec9569f849555936283384255 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Wed, 7 Apr 2004 05:34:54 +0000 Subject: [PATCH] fix cat formatting --- includes/Skin.php | 7 +++---- stylesheets/wikistandard.css | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 8c14064070..7f72d65a89 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -9,7 +9,7 @@ include_once( "Feed.php" ); # Language class has internationalized names # /* private */ $wgValidSkinNames = array( - 'standard' => "Standard", + 'standard' => "Standard", 'nostalgia' => "Nostalgia", 'cologneblue' => "CologneBlue" ); @@ -36,12 +36,11 @@ function getCategories () if ( !$wgOut->isArticle() ) return "" ; $sk = $wgUser->getSkin() ; $s = "" ; - $s .= "\n
\n"; $s .= $sk->makeKnownLink ( "Special:Categories" , "Categories" , "article=".$wgTitle->getDBkey() ) ; $t = implode ( " | " , $wgOut->mCategoryLinks ) ; - if ( $t != "" ) $s .= " : " ; + if ( $t != "" ) $s .= ": " ; $s .= $t ; - return $s ; + return ""; } class RCCacheEntry extends RecentChange diff --git a/stylesheets/wikistandard.css b/stylesheets/wikistandard.css index 05fc805e4b..872ad15665 100644 --- a/stylesheets/wikistandard.css +++ b/stylesheets/wikistandard.css @@ -51,6 +51,7 @@ h6 { font-size: 95%; } hr.sep { color:gray;height:1px;background-color:gray;} p.subpages { font-size:small;} p.subtitle { padding-top: 0; margin-top: 0;} +p.catlinks { font-size:small; margin-top:0; text-align:right;} td { empty-cells:show; } td.bottom { border-top: 1px solid gray; } td.top { border-bottom: 1px solid gray; } -- 2.20.1