Index: trunk/phase3/includes/Parser_OldPP.php |
— | — | @@ -3848,8 +3848,13 @@ |
3849 | 3849 | $nickname = $this->cleanSigInSig( $nickname ); |
3850 | 3850 | |
3851 | 3851 | # If we're still here, make it a link to the user page |
3852 | | - $userpage = $user->getUserPage(); |
3853 | | - return( '[[' . $userpage->getPrefixedText() . '|' . wfEscapeWikiText( $nickname ) . ']]' ); |
| 3852 | + $userText = wfEscapeWikiText( $username ); |
| 3853 | + $nickText = wfEscapeWikiText( $nickname ); |
| 3854 | + if ( $user->isAnon() ) { |
| 3855 | + return wfMsgExt( 'signature-anon', array( 'content', 'parsemag' ), $userText, $nickText ); |
| 3856 | + } else { |
| 3857 | + return wfMsgExt( 'signature', array( 'content', 'parsemag' ), $userText, $nickText ); |
| 3858 | + } |
3854 | 3859 | } |
3855 | 3860 | |
3856 | 3861 | /** |