From: Brion Vibber Date: Mon, 16 Oct 2006 06:24:56 +0000 (+0000) Subject: Avoid new CSS class and id names without mw prefix to avoid conflicts with user data. X-Git-Tag: 1.31.0-rc.0~55465 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=5ed2c5d6c7abb11013758dae92213edac728cf89;p=lhc%2Fweb%2Fwiklou.git Avoid new CSS class and id names without mw prefix to avoid conflicts with user data. --- 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 );