Index: branches/wmf/1.17wmf1/includes/Linker.php |
— | — | @@ -836,14 +836,13 @@ |
837 | 837 | * @param $userText String: user name in database |
838 | 838 | * @return String: HTML fragment |
839 | 839 | */ |
840 | | - |
841 | 840 | public static function userLink( $userId, $userText ) { |
842 | 841 | if ( $userId == 0 ) { |
843 | 842 | $page = SpecialPage::getTitleFor( 'Contributions', $userText ); |
844 | 843 | } else { |
845 | 844 | $page = Title::makeTitle( NS_USER, $userText ); |
846 | 845 | } |
847 | | - return $this->link( $page, htmlspecialchars( $userText ), array( 'class' => 'mw-userlink' ) ); |
| 846 | + return self::link( $page, htmlspecialchars( $userText ), array( 'class' => 'mw-userlink' ) ); |
848 | 847 | } |
849 | 848 | |
850 | 849 | /** |