r67960 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r67959
|
r67960
|
r67961
>
Date:
20:23, 13 June 2010
Author:
nikerabbit
Status:
ok
Tags:
Comment:
Array indexes start from zero
Modified paths:
/trunk/phase3/languages/classes/LanguageSe.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/languages/classes/LanguageSe.php
—
—
@@ -11,11 +11,11 @@
12
12
$forms = $this->preConvertPlural( $forms, 3 );
13
13
14
14
if ( $count == 1 ) {
15
+ $index = 0;
16
+ } elseif( $count == 2 ) {
15
17
$index = 1;
16
- } elseif( $count == 2 ) {
18
+ } else {
17
19
$index = 2;
18
- } else {
19
- $index = 3;
20
20
}
21
21
return $forms[$index];
22
22
}
Follow-up revisions
Revision
Commit summary
Author
Date
r67976
MFT
r67960
: Fix plural function for se
tstarling
02:15, 14 June 2010
Status & tagging log
02:16, 14 June 2010
Tim Starling
(
talk
|
contribs
)
changed the
tags
for r67960
[
removed:
1.16]
02:08, 14 June 2010
Tim Starling
(
talk
|
contribs
)
changed the
status
of r67960
[
removed:
new
added:
ok]
20:32, 13 June 2010
Nikerabbit
(
talk
|
contribs
)
changed the
tags
for r67960
[
added:
1.16]