* Default interface text for "selflinks" tweaked
* Removed broken wgAllowAnonymousMinor and added new group right minoredit
* (bug 4457) Update for Portuguese language (pt)
+* convertPlural breakage fixed a little
=== Caveats ===
# Contributions
#
'contributions' => 'User contributions',
-'userfiles' => 'User files',
+'userfiles' => 'User files',
'mycontris' => 'My contributions',
'contribsub' => "For $1",
'nocontribs' => 'No changes were found matching these criteria.',
* @return string
*/
function convertPlural( $count, $wordform1, $wordform2, $wordform3) {
- return $count == 1 ? $wordform1 : $wordform2;
+ return $count == '1' ? $wordform1 : $wordform2;
}
/**
}
function convertPlural( $count, $wordform1, $wordform2, $wordform3) {
- $count = strtr( $count, '.', '' );
+ $count = str_replace ('.', '', $count);
if ($count > 10 && floor(($count % 100) / 10) == 1) {
return $wordform3;
} else {
}
function convertPlural( $count, $wordform1, $wordform2, $wordform3) {
- $count = strtr( $count, '.', '' );
+ $count = str_replace ('.', '', $count);
if ($count > 10 && floor(($count % 100) / 10) == 1) {
return $wordform3;
} else {