Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | 'articlefeedbackv5-special-filter-label-before' => 'Show only:', |
62 | 62 | 'articlefeedbackv5-special-filter-label-after' => '', |
63 | 63 | 'articlefeedbackv5-special-showing' => '$1 feedback posts on this page', // FIXME: Needs plural support on $1. |
64 | | - 'articleFeedbackv5-link' => 'Permanent link', |
| 64 | + 'articleFeedbackv5-link' => 'Permalink', |
65 | 65 | 'articleFeedbackv5-updates-since' => '$1 Edits since post', |
66 | 66 | 'articlefeedbackv5-special-more' => 'More', |
67 | 67 | 'articlefeedbackv5-special-pagetitle' => 'Feedback: $1', |
— | — | @@ -93,7 +93,7 @@ |
94 | 94 | 'articlefeedbackv5-discussion-page' => 'Discussion', |
95 | 95 | 'articlefeedbackv5-whats-this' => 'Help', |
96 | 96 | 'articlefeedbackv5-invalid-page-id' => 'Invalid page ID', |
97 | | - 'articlefeedbackv5-percent-found' => '$1% of users found what they were looking for.', |
| 97 | + 'articlefeedbackv5-percent-found' => '% of users found what they were looking for.', // TODO: yeah, i know this is awful. |
98 | 98 | 'articlefeedbackv5-overall-rating' => 'Rating: $1/5', |
99 | 99 | 'articlefeedbackv5-special-title' => '==Feedback==', |
100 | 100 | 'articlefeedbackv5' => 'Article feedback dashboard', |
Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php |
— | — | @@ -98,11 +98,11 @@ |
99 | 99 | 'div', |
100 | 100 | array( 'id' => 'articleFeedbackv5-percent-found-wrap' ) |
101 | 101 | ) |
102 | | - . Html::openElement( |
103 | | - 'spam', |
| 102 | + . Html::element( |
| 103 | + 'span', |
104 | 104 | array( 'class' => 'stat-marker positive' ) |
105 | | - ) |
106 | | - . $this->msg( 'articlefeedbackv5-percent-found', $found )->escaped() |
| 105 | + , $found ) |
| 106 | + . wfMessage( 'articlefeedbackv5-percent-found' ) |
107 | 107 | . Html::closeElement( 'span' ) |
108 | 108 | . Html::closeElement( 'div' ) |
109 | 109 | . Html::element( |