Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -319,11 +319,11 @@ |
320 | 320 | |
321 | 321 | # Visibility - experimental |
322 | 322 | $wgHooks['userCan'][] = 'FlaggedRevs::userCanView'; |
| 323 | + |
323 | 324 | # Main hooks, overrides pages content, adds tags, sets tabs and permalink |
324 | 325 | $wgHooks['SkinTemplateTabs'][] = 'FlaggedRevs::setActionTabs'; |
325 | 326 | # Change last-modified footer |
326 | 327 | $wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'FlaggedRevs::setLastModified'; |
327 | | - |
328 | 328 | # Override current revision, add patrol links, set cache... |
329 | 329 | $wgHooks['ArticleViewHeader'][] = 'FlaggedRevs::onArticleViewHeader'; |
330 | 330 | # Add page notice |
Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -180,7 +180,7 @@ |
181 | 181 | $tag .= "<span id='mw-revisionratings' style='display:block;'><br/>" . |
182 | 182 | wfMsgHtml('revreview-oldrating') . FlaggedRevsXML::addTagRatings( $flags ) . '</span>'; |
183 | 183 | } |
184 | | - $tag = "<div id='mw-revisiontag-old' class='flaggedrevs_notice plainlinks'>$tag</div>"; |
| 184 | + $tag = "<div id='mw-revisiontag-old' class='flaggedrevs_notice plainlinks noprint'>$tag</div>"; |
185 | 185 | $wgOut->addHTML( $tag ); |
186 | 186 | } |
187 | 187 | return true; |
— | — | @@ -392,7 +392,7 @@ |
393 | 393 | $tagClass = 'flaggedrevs_basic'; |
394 | 394 | # Wrap tag contents in a div |
395 | 395 | if( $tag !='' ) |
396 | | - $tag = "<div id='mw-revisiontag' class='$tagClass plainlinks'>$tag</div>"; |
| 396 | + $tag = "<div id='mw-revisiontag' class='$tagClass plainlinks noprint'>$tag</div>"; |
397 | 397 | # Set UI html |
398 | 398 | $this->reviewNotice .= $tag; |
399 | 399 | # Add revision notes |
— | — | @@ -404,12 +404,12 @@ |
405 | 405 | $msg = $old ? 'revreview-quick-invalid' : 'revreview-quick-none'; |
406 | 406 | $tag .= "<span class='fr-icon-current plainlinks'></span>" . |
407 | 407 | wfMsgExt($msg,array('parseinline')); |
408 | | - $tag = "<div id='mw-revisiontag' class='flaggedrevs_short plainlinks'>$tag</div>"; |
| 408 | + $tag = "<div id='mw-revisiontag' class='flaggedrevs_short plainlinks noprint'>$tag</div>"; |
409 | 409 | $this->reviewNotice .= $tag; |
410 | 410 | // Standard UI |
411 | 411 | } else { |
412 | 412 | $msg = $old ? 'revreview-invalid' : 'revreview-noflagged'; |
413 | | - $tag = "<div id='mw-revisiontag' class='flaggedrevs_notice plainlinks'>" . |
| 413 | + $tag = "<div id='mw-revisiontag' class='flaggedrevs_notice plainlinks noprint'>" . |
414 | 414 | wfMsgExt($msg, array('parseinline')) . "</div>"; |
415 | 415 | $this->reviewNotice .= $tag; |
416 | 416 | } |
— | — | @@ -1236,7 +1236,7 @@ |
1237 | 1237 | $reviewTitle = SpecialPage::getTitleFor( 'RevisionReview' ); |
1238 | 1238 | $action = $reviewTitle->getLocalUrl( 'action=submit' ); |
1239 | 1239 | $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $action, 'id' => 'mw-reviewform' ) ); |
1240 | | - $form .= Xml::openElement( 'fieldset', array('class' => 'flaggedrevs_reviewform') ); |
| 1240 | + $form .= Xml::openElement( 'fieldset', array('class' => 'flaggedrevs_reviewform noprint') ); |
1241 | 1241 | $form .= "<legend>" . wfMsgHtml( 'revreview-flag', $id ) . "</legend>\n"; |
1242 | 1242 | |
1243 | 1243 | if( $wgFlaggedRevsOverride ) { |