dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merged localisation-work branch:
[lhc/web/wiklou.git]
/
languages
/
LanguageEt.php
1
<
?php
2
/** Estonian (Eesti)
3
*
4
* @package MediaWiki
5
* @subpackage Language
6
*
7
*/
8
9
class
LanguageEt
extends
Language
{
10
/**
11
* Avoid grouping whole numbers between 0 to 9999
12
*/
13
function
commafy
(
$_
) {
14
if
(!
preg_match
(
'/^\d{1,4}$/'
,
$_
)) {
15
return
strrev
((
string
)
preg_replace
(
'/(\d{3})(?=\d)(?!\d*\.)/'
,
'
$1
,'
,
strrev
(
$_
)));
16
}
else
{
17
return
$_
;
18
}
19
}
20
}
21
?
>