* (bug 2584) Fix output of subcategory list
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 29 Jun 2005 01:14:04 +0000 (01:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 29 Jun 2005 01:14:04 +0000 (01:14 +0000)
RELEASE-NOTES
includes/CategoryPage.php

index be4fbe9..51010a1 100644 (file)
@@ -415,6 +415,7 @@ Various bugfixes, small features, and a few experimental things:
   page in the article history pager.
 * Don't show empty-page text in 'Show changes' on new page
 * (bug 2591) Check for end, fix limits on Whatlinkshere
+* (bug 2584) Fix output of subcategory list
 
 
 === Caveats ===
index 20e38dc..bb6314f 100644 (file)
@@ -117,7 +117,7 @@ class CategoryPage extends Article {
                        
                        if( $title->getNamespace() == NS_CATEGORY ) {
                                // Subcategory; strip the 'Category' namespace from the link text.
-                               array_push( $children, $sk->makeKnownLinkObj( $title, $wgContLang->convert( $title->getPrefixedText() ) ) );
+                               array_push( $children, $sk->makeKnownLinkObj( $title, $wgContLang->convertHtml( $title->getText() ) ) );
                                
                                // If there's a link from Category:A to Category:B, the sortkey of the resulting
                                // entry in the categorylinks table is Category:A, not A, which it SHOULD be.