Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -96,7 +96,7 @@ |
97 | 97 | // For users of the monobook skin, a simplified UI will be used. |
98 | 98 | // Ratings will go by the toolbox. The standard UI still shows |
99 | 99 | // in edit mode and at stable versions. |
100 | | -$wgSimpleFlaggedRevsUI = true; |
| 100 | +$wgSimpleFlaggedRevsUI = false; |
101 | 101 | |
102 | 102 | # Lets some users access the review UI and set some flags |
103 | 103 | $wgAvailableRights[] = 'review'; |
— | — | @@ -911,9 +911,8 @@ |
912 | 912 | # Hide clutter |
913 | 913 | $tag .= ' <a id="mwrevisiontoggle" style="display:none;" href="javascript:toggleRevRatings()">' . |
914 | 914 | wfMsg('revreview-toggle') . '</a>'; |
915 | | - $tag .= '<span id="mwrevisionratings">' . |
916 | | - wfMsg('revreview-oldrating') . parent::addTagRatings( $flags ) . |
917 | | - '</span>'; |
| 915 | + $tag .= '<span id="mwrevisionratings" style="display:block;">' . |
| 916 | + wfMsg('revreview-oldrating') . parent::addTagRatings( $flags ) . '</span>'; |
918 | 917 | } |
919 | 918 | } |
920 | 919 | # Viewing the page normally: override the page |
— | — | @@ -932,9 +931,8 @@ |
933 | 932 | $tag = wfMsgExt($msg, array('parseinline'), $vis_id, $time, $revs_since); |
934 | 933 | $tag .= ' <a id="mwrevisiontoggle" style="display:none;" href="javascript:toggleRevRatings()">' . |
935 | 934 | wfMsg('revreview-toggle') . '</a>'; |
936 | | - $tag .= '<span id="mwrevisionratings">' . |
937 | | - parent::addTagRatings( $flags ) . |
938 | | - '</span>'; |
| 935 | + $tag .= '<span id="mwrevisionratings" style="display:block;">' . |
| 936 | + parent::addTagRatings( $flags ) . '</span>'; |
939 | 937 | } |
940 | 938 | } |
941 | 939 | # Try the stable page cache |
— | — | @@ -1009,7 +1007,7 @@ |
1010 | 1008 | $tag = wfMsgExt($msg, array('parseinline'), $tfrev->fr_rev_id, $time, $revs_since ); |
1011 | 1009 | # Hide clutter |
1012 | 1010 | $tag .= ' <a id="mwrevisiontoggle" style="display:none;" href="javascript:toggleRevRatings()">' . wfMsg('revreview-toggle') . '</a>'; |
1013 | | - $tag .= '<span id="mwrevisionratings">' . |
| 1011 | + $tag .= '<span id="mwrevisionratings" style="display:block;">' . |
1014 | 1012 | wfMsg('revreview-oldrating') . parent::addTagRatings( $flags ) . |
1015 | 1013 | '</span>'; |
1016 | 1014 | $wgOut->addHTML( '<div id="mwrevisiontag" class="flaggedrevs_notice plainlinks">' . $tag . '</div><br/>' ); |
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.body.php |
— | — | @@ -550,8 +550,11 @@ |
551 | 551 | $flags = FlaggedRevs::getFlagsForPageRev( $frev->fr_rev_id ); |
552 | 552 | $time = $wgLang->timeanddate( wfTimestamp(TS_MW, $frev->fr_timestamp), true ); |
553 | 553 | // We will be looking at the reviewed revision... |
554 | | - $tag = wfMsgExt('revreview-static', array('parse'), urlencode($page->getPrefixedText()), $time, $page->getPrefixedText()); |
555 | | - $tag .= $RevFlagging->addTagRatings( $flags ); |
| 554 | + $tag = wfMsgExt('revreview-static', array('parseinline'), urlencode($page->getPrefixedText()), $time, $page->getPrefixedText()); |
| 555 | + $tag .= ' <a id="mwrevisiontoggle" style="display:none;" href="javascript:toggleRevRatings()">' . wfMsg('revreview-toggle') . '</a>'; |
| 556 | + $tag .= '<span id="mwrevisionratings" style="display:block;">' . |
| 557 | + wfMsg('revreview-oldrating') . $RevFlagging->addTagRatings( $flags ) . |
| 558 | + '</span>'; |
556 | 559 | // Parse the text... |
557 | 560 | $text = $RevFlagging->getFlaggedRevText( $this->oldid ); |
558 | 561 | $options = ParserOptions::newFromUser($wgUser); |