Index: trunk/extensions/FlaggedRevs/language/RatingHistory.i18n.php |
— | — | @@ -9,8 +9,7 @@ |
10 | 10 | |
11 | 11 | $messages['en'] = array( |
12 | 12 | 'ratinghistory' => 'Page rating history', |
13 | | - 'ratinghistory-text' => '\'\'\'This page displays page rating data for [[:$1|$1]].\'\'\'', |
14 | | - 'ratinghistory-leg' => 'Rating history data', |
| 13 | + 'ratinghistory-leg' => 'Rating history data for [[:$1|$1]]', |
15 | 14 | 'ratinghistory-tab' => 'rating', |
16 | 15 | 'ratinghistory-link' => 'Page rating', |
17 | 16 | 'ratinghistory-thanks' => '\'\'<font color="darkred">Thank you for taking a moment to review this page!</font>\'\'', |
— | — | @@ -24,7 +23,8 @@ |
25 | 24 | 'ratinghistory-graph' => '$2 of "$3" ($1 {{PLURAL:$1|review|reviews}})', |
26 | 25 | 'ratinghistory-none' => 'There is not enough reader feedback data available for graphs at this time.', |
27 | 26 | 'ratinghistory-legend' => 'The \'\'\'daily average rating\'\'\' <font color="blue">\'\'(blue)\'\'</font> and |
28 | | - \'\'\'interval average rating\'\'\' <font color="green">\'\'(green)\'\'</font> are graphed below, by date. |
| 27 | + \'\'\'running average rating\'\'\' <font color="green">\'\'(green)\'\'</font> are graphed below, by date. The |
| 28 | + \'\'\'running average rating\'\'\' is simply the average of all the daily ratings \'\'within\'\' this time frame for each day. |
29 | 29 | |
30 | 30 | Scale: \'\'\'[1]\'\'\' - Poor; \'\'\'[2]\'\'\' - Low; \'\'\'[3]\'\'\' - Fair; \'\'\'[4]\'\'\' - High; \'\'\'[5]\'\'\' - Excellent; |
31 | 31 | |
Index: trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php |
— | — | @@ -53,7 +53,6 @@ |
54 | 54 | if( ReaderFeedback::userAlreadyVoted( $this->page ) ) { |
55 | 55 | $wgOut->setSubtitle( wfMsgExt('ratinghistory-thanks','parse') ); |
56 | 56 | } |
57 | | - $this->showLead(); |
58 | 57 | $this->showForm(); |
59 | 58 | $this->showHeader(); |
60 | 59 | /* |
— | — | @@ -67,20 +66,17 @@ |
68 | 67 | $this->showGraphs(); |
69 | 68 | } |
70 | 69 | |
71 | | - protected function showLead() { |
72 | | - global $wgOut; |
73 | | - $wgOut->addWikiText( wfMsg('ratinghistory-text',$this->page->getPrefixedText()) ); |
74 | | - } |
75 | | - |
76 | 70 | protected function showHeader() { |
77 | 71 | global $wgOut; |
78 | | - $wgOut->addWikiText( wfMsg('ratinghistory-legend', $this->dScale) ); |
| 72 | + $wgOut->addWikiText( wfMsg('ratinghistory-legend',$this->dScale) ); |
79 | 73 | } |
80 | 74 | |
81 | 75 | protected function showForm() { |
82 | 76 | global $wgOut, $wgTitle, $wgScript; |
83 | 77 | $form = Xml::openElement( 'form', array( 'name' => 'reviewedpages', 'action' => $wgScript, 'method' => 'get' ) ); |
84 | | - $form .= "<fieldset><legend>".wfMsg('ratinghistory-leg')."</legend>\n"; |
| 78 | + $form .= "<fieldset>"; |
| 79 | + $form .= "<legend>".wfMsgExt('ratinghistory-leg',array('parseinline'), |
| 80 | + $this->page->getPrefixedText())."</legend>\n"; |
85 | 81 | $form .= Xml::hidden( 'title', $wgTitle->getPrefixedDBKey() ); |
86 | 82 | $form .= Xml::hidden( 'target', $this->page->getPrefixedDBKey() ); |
87 | 83 | $form .= $this->getPeriodMenu( $this->period ); |