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:
d7eb2f8
)
bug fix in newcategorymagic: first char was alway the one of the category namespace...
author
Antoine Musso
<hashar@users.mediawiki.org>
Mon, 7 Jun 2004 03:46:33 +0000
(
03:46
+0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Mon, 7 Jun 2004 03:46:33 +0000
(
03:46
+0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
596c576
..
6f4f2ee
100644
(file)
--- 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->c
l_sortkey
) ) ;
+ array_push ( $children_start_char, $wgLang->firstChar( $x->c
ur_title
) ) ;
} else {
array_push ( $articles , $sk->makeLink ( $t ) ) ; # Page in this category
array_push ( $articles_start_char, $wgLang->firstChar( $x->cl_sortkey ) ) ;