Index: trunk/extensions/MoodBar/MoodBar.i18n.php |
— | — | @@ -159,7 +159,7 @@ |
160 | 160 | 'moodbar-log-hide' => 'hid [[$1]]', |
161 | 161 | 'moodbar-log-feedback' => 'MoodBar Feedback [[$1]]', |
162 | 162 | 'moodbar-log-restore' => 'restored the visibility for [[$1]]', |
163 | | - 'moodbar-log-reason' => '$1: $2', |
| 163 | + 'moodbar-log-reason' => '$1', |
164 | 164 | //Feedback Response |
165 | 165 | 'moodbar-response-terms' => 'By submitting, you agree to transparency under these $1.', |
166 | 166 | 'moodbar-response-link' => 'terms', |
— | — | @@ -335,7 +335,7 @@ |
336 | 336 | * $1 is a link to a feedback item.', |
337 | 337 | 'moodbar-log-restore' => 'Log Action text for restoring feedback [[$1]] is link to feedback item', |
338 | 338 | 'moodbar-log-reason' => '{{optional}} |
339 | | -Text for log reason. $1 is moodbar type, $2 is moodbar comment', |
| 339 | +Text for log reason. $1 is moodbar type', |
340 | 340 | 'moodbar-response-terms' => 'Text of the user license agreement. Parameters: |
341 | 341 | * $1 {{msg-mw|moodbar-response-link}}', |
342 | 342 | 'moodbar-response-link' => 'Terms of Use Text', |
Index: trunk/extensions/MoodBar/ApiMoodBar.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | |
38 | 38 | public function logFeedback( $params, $itemId ) { |
39 | 39 | $title = SpecialPage::getTitleFor( 'FeedbackDashboard', $itemId ); |
40 | | - $reason = wfMessage( 'moodbar-log-reason' )->params( $params['type'], $params['comment'] )->text(); |
| 40 | + $reason = wfMessage( 'moodbar-log-reason' )->params( $params['type'] )->text(); |
41 | 41 | $log = new LogPage( 'moodbar' ); |
42 | 42 | $log->addEntry( 'feedback', $title, $reason ); |
43 | 43 | } |