Avoid new CSS class and id names without mw prefix to avoid conflicts with user data.
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 16 Oct 2006 06:24:56 +0000 (06:24 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 16 Oct 2006 06:24:56 +0000 (06:24 +0000)
includes/CategoryPage.php

index 03fbebc..277ee1d 100644 (file)
@@ -236,7 +236,7 @@ class CategoryViewer {
                $r = '';
                if( count( $this->children ) > 0 ) {
                        # Showing subcategories
-                       $r .= "<div id=\"subcategories\">\n";
+                       $r .= "<div id=\"mw-subcategories\">\n";
                        $r .= '<h2>' . wfMsg( 'subcategories' ) . "</h2>\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 = "<div id=\"pages\">\n";
+               $r = "<div id=\"mw-pages\">\n";
                $r .= '<h2>' . wfMsg( 'category_header', $ti ) . "</h2>\n";
                $r .= wfMsgExt( 'categoryarticlecount', array( 'parse' ), count( $this->articles) );
                $r .= $this->formatList( $this->articles, $this->articles_start_char );