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:
af4f7ee
)
Language-specific number formatting in category page headers (for Hindi etc)
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 24 Oct 2004 05:49:54 +0000
(
05:49
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 24 Oct 2004 05:49:54 +0000
(
05:49
+0000)
includes/CategoryPage.php
patch
|
blob
|
history
diff --git
a/includes/CategoryPage.php
b/includes/CategoryPage.php
index
479938a
..
6c56dbc
100644
(file)
--- a/
includes/CategoryPage.php
+++ b/
includes/CategoryPage.php
@@
-170,9
+170,9
@@
class CategoryPage extends Article {
$numchild = count( $children );
if($numchild == 1) {
$numchild = count( $children );
if($numchild == 1) {
- $r .= wfMsg( 'subcategorycount1',
1
);
+ $r .= wfMsg( 'subcategorycount1',
$wgContLang->formatNum( 1 )
);
} else {
} else {
- $r .= wfMsg( 'subcategorycount' , $
numchild
);
+ $r .= wfMsg( 'subcategorycount' , $
wgContLang->formatNum( $numchild )
);
}
unset($numchild);
}
unset($numchild);
@@
-234,9
+234,9
@@
class CategoryPage extends Article {
$numart = count( $articles );
if($numart == 1) {
$numart = count( $articles );
if($numart == 1) {
- $r .= wfMsg( 'categoryarticlecount1',
1
);
+ $r .= wfMsg( 'categoryarticlecount1',
$wgContLang->formatNum( 1 )
);
} else {
} else {
- $r .= wfMsg( 'categoryarticlecount' , $
numart
);
+ $r .= wfMsg( 'categoryarticlecount' , $
wgContLang->formatNum( $numart )
);
}
unset($numart);
}
unset($numart);