Index: trunk/extensions/SocialProfile/UserActivity/UserActivity.i18n.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | * @author David Pean |
15 | 15 | */ |
16 | 16 | $messages['en'] = array( |
17 | | - 'useractivity' => 'Friends activity', |
| 17 | + 'useractivity' => "Friends' activity", |
18 | 18 | 'useractivity-award' => 'received an award', // FIXME: message lego |
19 | 19 | 'useractivity-all' => 'View all', |
20 | 20 | 'useractivity-gift' => 'received a gift from', // FIXME: message logo |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | 'useractivity-group-friend' => 'friends', |
25 | 25 | 'useractivity-filter' => 'Filter', |
26 | 26 | 'useractivity-network-thought' => 'has a thought for the $1 network', // FIXME: message lego |
27 | | - 'useractivity-title' => "Friends activity", |
| 27 | + 'useractivity-title' => "Friends' activity", |
28 | 28 | 'useractivity-siteactivity' => 'Site activity', |
29 | 29 | 'useractivity-edit' => '{{PLURAL:$1|edited the page|edited the following pages: }}', // CHECKME: message lego? |
30 | 30 | 'useractivity-comment' => '{{PLURAL:$1|commented on the page|commented on the following pages: }}', // CHECKME: message lego? |
Index: trunk/extensions/SocialProfile/UserActivity/UserActivityClass.php |
— | — | @@ -719,7 +719,7 @@ |
720 | 720 | |
721 | 721 | if ( $pages ) |
722 | 722 | $pages .= ", "; |
723 | | - $pages .= " <a href=\"{$page_title2->escapeFullURL()}\">{$page_name2}</a>"; |
| 723 | + $pages .= ( ( $page_title2 instanceOf Title ) ? " <a href=\"{$page_title2->escapeFullURL()}\">{$page_name2}</a>" : '' ); |
724 | 724 | if ( $count_actions2 > 1 ) { |
725 | 725 | $pages .= " ($count_actions2 " . wfMsg( "useractivity-group-{$type}" ) . ")"; |
726 | 726 | } |