From: Jens Frank Date: Thu, 10 Jun 2004 12:06:25 +0000 (+0000) Subject: use sortkey for subcategories, too X-Git-Tag: 1.5.0alpha1~2944 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=f3a14034f475f43d216aa69c287986dc78021d18;p=lhc%2Fweb%2Fwiklou.git use sortkey for subcategories, too --- diff --git a/includes/Parser.php b/includes/Parser.php index 964af1be83..15a272d082 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -442,7 +442,7 @@ cl_sortkey" ; if ( $x->cur_namespace == $cns ) { array_push ( $children, $sk->makeKnownLink ( $t, str_replace( '_',' ',$x->cur_title) ) ) ; # Subcategory - array_push ( $children_start_char, $wgLang->firstChar( $x->cur_title ) ) ; + array_push ( $children_start_char, $wgLang->firstChar( $x->cl_sortkey ) ) ; } else { array_push ( $articles , $sk->makeLink ( $t ) ) ; # Page in this category array_push ( $articles_start_char, $wgLang->firstChar( $x->cl_sortkey ) ) ;