summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageAr.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
commit9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch)
tree46d1a0dee7febef5c2d57a9f7b972be16a163b3d /languages/classes/LanguageAr.php
parent78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff)
update to MediaWiki 1.17.0
Diffstat (limited to 'languages/classes/LanguageAr.php')
-rw-r--r--languages/classes/LanguageAr.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/classes/LanguageAr.php b/languages/classes/LanguageAr.php
index 70a53f86..77c46025 100644
--- a/languages/classes/LanguageAr.php
+++ b/languages/classes/LanguageAr.php
@@ -7,18 +7,18 @@
*/
class LanguageAr extends Language {
function convertPlural( $count, $forms ) {
- if ( !count($forms) ) { return ''; }
+ if ( !count( $forms ) ) { return ''; }
$forms = $this->preConvertPlural( $forms, 6 );
if ( $count == 0 ) {
$index = 0;
} elseif ( $count == 1 ) {
$index = 1;
- } elseif( $count == 2 ) {
+ } elseif ( $count == 2 ) {
$index = 2;
- } elseif( $count % 100 >= 3 && $count % 100 <= 10 ) {
+ } elseif ( $count % 100 >= 3 && $count % 100 <= 10 ) {
$index = 3;
- } elseif( $count % 100 >= 11 && $count % 100 <= 99 ) {
+ } elseif ( $count % 100 >= 11 && $count % 100 <= 99 ) {
$index = 4;
} else {
$index = 5;
@@ -27,10 +27,10 @@ class LanguageAr extends Language {
}
/**
- * Temporary hack for bug 9413: replace Arabic presentation forms with their
- * standard equivalents.
+ * Temporary hack for bug 9413: replace Arabic presentation forms with their
+ * standard equivalents.
*
- * FIXME: This is language-specific for now only to avoid the negative
+ * FIXME: This is language-specific for now only to avoid the negative
* performance impact of enabling it for all languages.
*/
function normalize( $s ) {