* (bug 2584) Fix output of subcategory list
This commit is contained in:
parent
79a076c5f7
commit
da1a3dcccb
2 changed files with 2 additions and 1 deletions
|
|
@ -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 ===
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue