From a58285fd06c8113c45377c655dd43cef6337e815 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 11 Jan 2007 19:06:07 +0000 Subject: Aktualisierung auf MediaWiki 1.9.0 --- includes/CategoryPage.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'includes/CategoryPage.php') diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index e55d2976..0086a2f9 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -236,24 +236,31 @@ class CategoryViewer { $r = ''; if( count( $this->children ) > 0 ) { # Showing subcategories + $r .= "
\n"; $r .= '

' . wfMsg( 'subcategories' ) . "

\n"; $r .= wfMsgExt( 'subcategorycount', array( 'parse' ), count( $this->children) ); $r .= $this->formatList( $this->children, $this->children_start_char ); + $r .= "\n
"; } return $r; } function getPagesSection() { $ti = htmlspecialchars( $this->title->getText() ); - $r = '

' . wfMsg( 'category_header', $ti ) . "

\n"; + $r = "
\n"; + $r .= '

' . wfMsg( 'category_header', $ti ) . "

\n"; $r .= wfMsgExt( 'categoryarticlecount', array( 'parse' ), count( $this->articles) ); $r .= $this->formatList( $this->articles, $this->articles_start_char ); + $r .= "\n
"; return $r; } function getImageSection() { if( $this->showGallery && ! $this->gallery->isEmpty() ) { - return $this->gallery->toHTML(); + return "
\n" . + '

' . wfMsg( 'category-media-header', htmlspecialchars($this->title->getText()) ) . "

\n" . + wfMsgExt( 'category-media-count', array( 'parse' ), $this->gallery->count() ) . + $this->gallery->toHTML() . "\n
"; } else { return ''; } -- cgit v1.2.2