Index: trunk/extensions/MoodBar/SpecialFeedbackDashboard.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | * @return string HTML |
108 | 108 | */ |
109 | 109 | public function buildForm( $filterType ) { |
110 | | - global $wgRequest, $wgMoodBarConfig; |
| 110 | + global $wgRequest, $wgMoodBarConfig, $wgSitename; |
111 | 111 | $filtersMsg = wfMessage( 'moodbar-feedback-filters' )->escaped(); |
112 | 112 | $typeMsg = wfMessage( 'moodbar-feedback-filters-type' )->escaped(); |
113 | 113 | $praiseMsg = wfMessage( 'moodbar-feedback-filters-type-happy' )->escaped(); |
— | — | @@ -131,7 +131,7 @@ |
132 | 132 | |
133 | 133 | $moodbarStat = $this->getMoodBarTypeStats(); |
134 | 134 | $moodbarStatMsg = wfMessage( 'moodbar-type-stats' )->params( $moodbarStat['happy'], $moodbarStat['sad'], $moodbarStat['confused'] )->escaped(); |
135 | | - $feedbackDashboardDescription = wfMessage( 'moodbar-feedback-description' ); // don't escape because there is html |
| 135 | + $feedbackDashboardDescription = wfMessage( 'moodbar-feedback-description' )->params( $wgSitename ); // don't escape because there is html |
136 | 136 | |
137 | 137 | return <<<HTML |
138 | 138 | <div id="fbd-description"> |
Index: trunk/extensions/MoodBar/MoodBar.i18n.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | 'moodbar-header-own-talk' => 'Own talk page', |
97 | 97 | // Special:MoodBarFeedback |
98 | 98 | 'moodbar-feedback-title' => 'Feedback dashboard', |
99 | | - 'moodbar-feedback-description' => "This dashboard displays comments from new editors about their experiences editing Wikipedia. [http://en.wikipedia.org/wiki/Wikipedia:New_editor_feedback Learn More]", |
| 99 | + 'moodbar-feedback-description' => "This dashboard displays comments from new editors about their experiences editing $1. [http://en.wikipedia.org/wiki/Wikipedia:New_editor_feedback Learn More]", |
100 | 100 | 'moodbar-feedback-response-title' => '==In response to your [[$1|feedback]]==', |
101 | 101 | 'moodbar-feedback-view-link' => '(View the feedback)', |
102 | 102 | 'moodbar-feedback-filters' => 'Filters', |