Localisation updates for core and extension messages from translatewiki.net (2010...
[lhc/web/wiklou.git] / includes / Metadata.php
index 4a0b003..3f95954 100644 (file)
@@ -118,11 +118,12 @@ abstract class RdfMetaData {
                global $wgContLang;
 
                if( $user->isAnon() ){
-                       $this->element( $name, wfMsg( 'anonymous' ) );
+                       $this->element( $name, wfMsgExt( 'anonymous', array( 'parsemag' ), 1 ) );
                } else if( $real = $user->getRealName() ) {
                        $this->element( $name, $real );
                } else {
-                       $this->pageOrString( $name, $user->getUserPage(), wfMsg( 'siteuser', $user->getName() ) );
+                       $userName = $user->getName();
+                       $this->pageOrString( $name, $user->getUserPage(), wfMsgExt( 'siteuser', 'parsemag', $userName, $userName ) );
                }
        }