* Defined formatNum()

* Removed the definition of getDefaultUserOptions()
This commit is contained in:
Ævar Arnfjörð Bjarmason 2005-07-05 23:01:51 +00:00
parent a3fe687019
commit 2418ed30e5

View file

@ -848,12 +848,6 @@ te zijn om een pagina te verplaatsen.",
class LanguageNl extends LanguageUtf8 {
function getDefaultUserOptions () {
$opt = Language::getDefaultUserOptions();
$opt["date"]=2;
return $opt;
}
function getNamespaces() {
global $wgNamespaceNamesNl;
return $wgNamespaceNamesNl;
@ -906,10 +900,10 @@ class LanguageNl extends LanguageUtf8 {
return parent::getMessage( $key );
}
}
# Inherit iconv(), ucfirst(), stripForSearch(), recodeForEdit(), recodeInput()
# since they are same as English/Latin1
function formatNum( $number, $year = false ) {
return $year ? $number : strtr( $this->commafy( $number ), '.,', ',.' );
}
}
?>