From 5ed2c5d6c7abb11013758dae92213edac728cf89 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 16 Oct 2006 06:24:56 +0000 Subject: [PATCH] Avoid new CSS class and id names without mw prefix to avoid conflicts with user data. --- includes/CategoryPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 03fbebc731..277ee1dbf5 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -236,7 +236,7 @@ class CategoryViewer { $r = ''; if( count( $this->children ) > 0 ) { # Showing subcategories - $r .= "
\n"; + $r .= "
\n"; $r .= '

' . wfMsg( 'subcategories' ) . "

\n"; $r .= wfMsgExt( 'subcategorycount', array( 'parse' ), count( $this->children) ); $r .= $this->formatList( $this->children, $this->children_start_char ); @@ -247,7 +247,7 @@ class CategoryViewer { function getPagesSection() { $ti = htmlspecialchars( $this->title->getText() ); - $r = "
\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 ); -- 2.20.1