r40357 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40356‎ | r40357 | r40358 >
Date:03:54, 3 September 2008
Author:tstarling
Status:old
Tags:
Comment:
Minus one is plural in English.
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -1981,7 +1981,7 @@
19821982 if ( !count($forms) ) { return ''; }
19831983 $forms = $this->preConvertPlural( $forms, 2 );
19841984
1985 - return ( abs($count) == 1 ) ? $forms[0] : $forms[1];
 1985+ return ( $count == 1 ) ? $forms[0] : $forms[1];
19861986 }
19871987
19881988 /**