dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24babf6
)
use sortkey for subcategories, too
author
Jens Frank
<jeluf@users.mediawiki.org>
Thu, 10 Jun 2004 12:06:25 +0000
(12:06 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Thu, 10 Jun 2004 12:06:25 +0000
(12:06 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
964af1b
..
15a272d
100644
(file)
--- 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->c
ur_title
) ) ;
+ array_push ( $children_start_char, $wgLang->firstChar( $x->c
l_sortkey
) ) ;
} else {
array_push ( $articles , $sk->makeLink ( $t ) ) ; # Page in this category
array_push ( $articles_start_char, $wgLang->firstChar( $x->cl_sortkey ) ) ;