Add {{PLURAL}} support to 'anonymous'. 2 uses in Credits already passed the $1 param...
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 25 Aug 2008 14:13:32 +0000 (14:13 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 25 Aug 2008 14:13:32 +0000 (14:13 +0000)
includes/Metadata.php
languages/messages/MessagesEn.php

index 4a0b003..e67b089 100644 (file)
@@ -118,7 +118,7 @@ abstract class RdfMetaData {
                global $wgContLang;
 
                if( $user->isAnon() ){
-                       $this->element( $name, wfMsg( 'anonymous' ) );
+                       $this->element( $name, wfMsg( 'anonymous' ), 1 );
                } else if( $real = $user->getRealName() ) {
                        $this->element( $name, $real );
                } else {
index 6534c0c..2ff0ba4 100644 (file)
@@ -2813,7 +2813,7 @@ You can view its source.',
 'notacceptable'     => 'The wiki server cannot provide data in a format your client can read.',
 
 # Attribution
-'anonymous'        => 'Anonymous user(s) of {{SITENAME}}',
+'anonymous'        => 'Anonymous {{PLURAL:$1|user|users}} of {{SITENAME}}',
 'siteuser'         => '{{SITENAME}} user $1',
 'lastmodifiedatby' => 'This page was last modified $2, $1 by $3.', # $1 date, $2 time, $3 user
 'othercontribs'    => 'Based on work by $1.',