Index: trunk/extensions/SocialProfile/UserProfile/UserProfilePage.php |
— | — | @@ -418,7 +418,7 @@ |
419 | 419 | $similar_fans = Title::makeTitle(NS_SPECIAL, "SimilarFans"); |
420 | 420 | $update_profile = Title::makeTitle(NS_SPECIAL, "UpdateProfile"); |
421 | 421 | $watchlist = Title::makeTitle(NS_SPECIAL, "Watchlist"); |
422 | | - $contributions = Title::makeTitle(NS_SPECIAL, "Contributions"); |
| 422 | + $contributions = SpecialPage::getTitleFor('Contributions', $user); |
423 | 423 | $send_message = Title::makeTitle(NS_SPECIAL, "UserBoard"); |
424 | 424 | $upload_avatar = Title::makeTitle(NS_SPECIAL, "UploadAvatar"); |
425 | 425 | $user_page = Title::makeTitle(NS_USER, $user); |
— | — | @@ -480,7 +480,7 @@ |
481 | 481 | $output .= "<a href=\"".$give_gift->escapeFullURL('user='.$user_safe)."\" rel=\"nofollow\">".wfMsg('user-send-gift')."</a> |"; |
482 | 482 | } |
483 | 483 | |
484 | | - $output .= "<a href=\"".$contributions->escapeFullURL()."/{$user_safe}\" rel=\"nofollow\">".wfMsg('user-contributions')."</a> "; |
| 484 | + $output .= "<a href=\"".$contributions->escapeFullURL()."\" rel=\"nofollow\">".wfMsg('user-contributions')."</a> "; |
485 | 485 | |
486 | 486 | //Links to User:user_name from User_profile: |
487 | 487 | if( $wgTitle->getNamespace() == NS_USER_PROFILE && $this->profile_data["user_id"] && $this->profile_data["user_page_type"] == 0){ |