From c6294709335125c3c54062e679c67d5f52fb2c6d Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 7 Jun 2004 03:46:33 +0000 Subject: [PATCH] bug fix in newcategorymagic: first char was alway the one of the category namespace (aka C) --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 596c576be8..6f4f2ee8c4 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -450,7 +450,7 @@ cl_sortkey" ; if ( $x->cur_namespace == $cns ) { array_push ( $children, $sk->makeKnownLink ( $t, $x->cur_title) ) ; # Subcategory - array_push ( $children_start_char, $wgLang->firstChar( $x->cl_sortkey ) ) ; + array_push ( $children_start_char, $wgLang->firstChar( $x->cur_title ) ) ; } else { array_push ( $articles , $sk->makeLink ( $t ) ) ; # Page in this category array_push ( $articles_start_char, $wgLang->firstChar( $x->cl_sortkey ) ) ; -- 2.20.1