foreach ($contributors as $user_parts) {
if ($user_parts[0] != 0) {
if ($wgAllowRealName && !empty($user_parts[2])) {
- $real_names[$user_id] = creditLink($user_parts[1], $user_parts[2]);
+ $real_names[] = creditLink($user_parts[1], $user_parts[2]);
} else {
- $user_names[$user_id] = creditLink($user_parts[1]);
+ $user_names[] = creditLink($user_parts[1]);
}
} else {
$anon = wfMsg('anonymous');
# Two strings: real names, and user names
- $real = $wgLang->listToText(array_values($real_names));
- $user = $wgLang->listToText(array_values($user_names));
+ $real = $wgLang->listToText($real_names);
+ $user = $wgLang->listToText($user_names);
# "ThisSite user(s) A, B and C"
'lastmodifiedby' => "This page was last modified $1 by $2.",
'and' => 'and',
'othercontribs' => "Based on work by $1.",
+'others' => 'others',
'siteusers' => "$wgSitename user(s) $1",
'creditspage' => 'Page credits',
'nocredits' => 'There is no credits info available for this page.',