From da1a3dcccb82e78dfd5fc9f64296a02beaf8213b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 29 Jun 2005 01:14:04 +0000 Subject: [PATCH] * (bug 2584) Fix output of subcategory list --- RELEASE-NOTES | 1 + includes/CategoryPage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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. -- 2.20.1