Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -502,11 +502,11 @@ |
503 | 503 | * @param Row $trev, flagged revision row |
504 | 504 | * @param array $flags |
505 | 505 | * @param int $rev_since, revisions since review |
506 | | - * @param bool $cur, are we referring to the visible revision? |
| 506 | + * @param bool $stable, are we referring to the stable revision? |
507 | 507 | * @returns string |
508 | 508 | * Generates a review box using a table using addTagRatings() |
509 | 509 | */ |
510 | | - public function prettyRatingBox( $tfrev, $flags, $revs_since, $cur=true ) { |
| 510 | + public function prettyRatingBox( $tfrev, $flags, $revs_since, $stable=true ) { |
511 | 511 | global $wgLang; |
512 | 512 | # Get quality level |
513 | 513 | $quality = self::isQuality( $flags ); |
— | — | @@ -520,13 +520,15 @@ |
521 | 521 | else |
522 | 522 | $tagClass = 'flaggedrevs_box1'; |
523 | 523 | // Construct some tagging |
524 | | - $msg = $cur ? 'revreview-' : 'revreview-newest-'; |
| 524 | + $msg = $stable ? 'revreview-' : 'revreview-newest-'; |
525 | 525 | $msg .= $quality ? 'quality' : 'basic'; |
| 526 | + $msg2 = $stable ? '' : ' '.wfMsg('revreview-oldrating'); |
526 | 527 | |
527 | 528 | $box = ' <a id="mw-revisiontoggle" style="display:none;" href="javascript:toggleRevRatings()">' . |
528 | 529 | wfMsg('revreview-toggle') . '</a>'; |
529 | | - $box .= '<span id="mw-revisionratings">' . |
| 530 | + $box .= '<span id="mw-revisionratings">' . |
530 | 531 | wfMsgExt($msg, array('parseinline'), $tfrev->fr_rev_id, $time, $revs_since) . |
| 532 | + $msg2 . |
531 | 533 | self::addTagRatings( $flags, true, "{$tagClass}a" ) . |
532 | 534 | '</span>'; |
533 | 535 | |
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | 'revreview-edit' => 'Edit draft', |
20 | 20 | 'revreview-source' => 'draft source', |
21 | 21 | 'revreview-stable' => 'Stable', |
22 | | - 'revreview-oldrating' => 'It was rated as:', |
| 22 | + 'revreview-oldrating' => 'It was rated:', |
23 | 23 | 'revreview-noflagged' => 'There are no reviewed revisions of this page, so it may \'\'\'not\'\'\' have been |
24 | 24 | [[Help:Article validation|checked]] for quality.', |
25 | 25 | |