From: Brion Vibber Date: Wed, 29 Jun 2005 01:14:04 +0000 (+0000) Subject: * (bug 2584) Fix output of subcategory list X-Git-Tag: 1.5.0beta2~139 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=da1a3dcccb82e78dfd5fc9f64296a02beaf8213b;p=lhc%2Fweb%2Fwiklou.git * (bug 2584) Fix output of subcategory list --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index be4fbe9d01..51010a1dfb 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 20e38dc0a8..bb6314f376 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -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.