fix cat formatting
authorErik Moeller <erik@users.mediawiki.org>
Wed, 7 Apr 2004 05:34:54 +0000 (05:34 +0000)
committerErik Moeller <erik@users.mediawiki.org>
Wed, 7 Apr 2004 05:34:54 +0000 (05:34 +0000)
includes/Skin.php
stylesheets/wikistandard.css

index 8c14064..7f72d65 100644 (file)
@@ -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<br />\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 "<p class='catlinks'>$s</p>";
 }
 
 class RCCacheEntry extends RecentChange
index 05fc805..872ad15 100644 (file)
@@ -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; }