Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php |
— | — | @@ -50,6 +50,8 @@ |
51 | 51 | 'articlefeedbackv5-special-filter-label-after' => '', |
52 | 52 | 'articlefeedbackv5-special-showing' => 'Showing $1 posts (of $2)', // FIXME: Needs plural support on $1. |
53 | 53 | 'articlefeedbackv5-special-more' => 'More', |
| 54 | + 'articlefeedbackv5-special-title' => 'Feedback for $1', |
| 55 | + |
54 | 56 | 'articlefeedbackv5-form-optionid' => 'Option $1', |
55 | 57 | 'articlefeedbackv5-form-hide' => 'Hide this ($1)', |
56 | 58 | 'articlefeedbackv5-form-abuse' => 'Flag as abuse ($1)', |
Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php |
— | — | @@ -18,7 +18,10 @@ |
19 | 19 | $found = isset( $ratings['found'] ) ? $ratings['found'] : null; |
20 | 20 | $rating = isset( $ratings['rating'] ) ? $ratings['rating'] : null; |
21 | 21 | |
22 | | - $out->setPagetitle( "Feedback for $title" ); |
| 22 | + $out->setPagetitle( |
| 23 | + $this->msg( 'articlefeedbackv5-special-title', $title ) |
| 24 | + ->escaped() |
| 25 | + ); |
23 | 26 | |
24 | 27 | if ( !$pageId ) { |
25 | 28 | $out->addWikiMsg( 'articlefeedbackv5-invalid-page-id' ); |