diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /languages/classes/LanguagePl.php | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'languages/classes/LanguagePl.php')
-rw-r--r-- | languages/classes/LanguagePl.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/languages/classes/LanguagePl.php b/languages/classes/LanguagePl.php index 40477f42..59c8d5c2 100644 --- a/languages/classes/LanguagePl.php +++ b/languages/classes/LanguagePl.php @@ -5,6 +5,12 @@ * @ingroup Language */ class LanguagePl extends Language { + + /** + * @param $count string + * @param $forms array + * @return string + */ function convertPlural( $count, $forms ) { if ( !count( $forms ) ) { return ''; } $forms = $this->preConvertPlural( $forms, 3 ); @@ -22,6 +28,10 @@ class LanguagePl extends Language { } } + /** + * @param $_ string + * @return string + */ function commafy( $_ ) { if ( !preg_match( '/^\-?\d{1,4}(\.\d+)?$/', $_ ) ) { return strrev( (string)preg_replace( '/(\d{3})(?=\d)(?!\d*\.)/', '$1,', strrev( $_ ) ) ); |