Index: trunk/phase3/includes/Linker.php |
— | — | @@ -915,9 +915,8 @@ |
916 | 916 | * @param $userId Integer: user id in database. |
917 | 917 | * @param $userText String: user name in database |
918 | 918 | * @return String: HTML fragment |
919 | | - * @private |
920 | 919 | */ |
921 | | - static function userLink( $userId, $userText ) { |
| 920 | + public static function userLink( $userId, $userText ) { |
922 | 921 | if ( $userId == 0 ) { |
923 | 922 | $page = SpecialPage::getTitleFor( 'Contributions', $userText ); |
924 | 923 | } else { |
— | — | @@ -992,9 +991,8 @@ |
993 | 992 | * @param $userId Integer: user id in database. |
994 | 993 | * @param $userText String: user name in database. |
995 | 994 | * @return String: HTML fragment with user talk link |
996 | | - * @private |
997 | 995 | */ |
998 | | - static function userTalkLink( $userId, $userText ) { |
| 996 | + public static function userTalkLink( $userId, $userText ) { |
999 | 997 | $userTalkPage = Title::makeTitle( NS_USER_TALK, $userText ); |
1000 | 998 | $userTalkLink = self::link( $userTalkPage, wfMsgHtml( 'talkpagelinktext' ) ); |
1001 | 999 | return $userTalkLink; |
— | — | @@ -1004,9 +1002,8 @@ |
1005 | 1003 | * @param $userId Integer: userid |
1006 | 1004 | * @param $userText String: user name in database. |
1007 | 1005 | * @return String: HTML fragment with block link |
1008 | | - * @private |
1009 | 1006 | */ |
1010 | | - static function blockLink( $userId, $userText ) { |
| 1007 | + public static function blockLink( $userId, $userText ) { |
1011 | 1008 | $blockPage = SpecialPage::getTitleFor( 'Block', $userText ); |
1012 | 1009 | $blockLink = self::link( $blockPage, wfMsgHtml( 'blocklink' ) ); |
1013 | 1010 | return $blockLink; |
— | — | @@ -1016,9 +1013,8 @@ |
1017 | 1014 | * @param $userId Integer: userid |
1018 | 1015 | * @param $userText String: user name in database. |
1019 | 1016 | * @return String: HTML fragment with e-mail user link |
1020 | | - * @private |
1021 | 1017 | */ |
1022 | | - static function emailLink( $userId, $userText ) { |
| 1018 | + public static function emailLink( $userId, $userText ) { |
1023 | 1019 | $emailPage = SpecialPage::getTitleFor( 'Emailuser', $userText ); |
1024 | 1020 | $emailLink = self::link( $emailPage, wfMsgHtml( 'emaillink' ) ); |
1025 | 1021 | return $emailLink; |