Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | $wgDjvutxt = null; |
39 | 39 | |
40 | 40 | # Bump the version number every time you change proofread.js |
41 | | -$wgProofreadPageVersion = 23; |
| 41 | +$wgProofreadPageVersion = 24; |
42 | 42 | |
43 | 43 | # Max width of zoomable image |
44 | 44 | $wgProofreadPageMaxWidth = 2048; |
— | — | @@ -616,7 +616,7 @@ |
617 | 617 | if( ! in_array( $q, array('0','1','2','3','4') ) ) { |
618 | 618 | return ""; |
619 | 619 | } |
620 | | - $message = "<div id=\"pagequality\" width=100% class=quality$q><div id=\"pagequality_content\">".wfMsgForContent( "proofreadpage_quality{$q}_message" )."</div></div>"; |
| 620 | + $message = "<div id=\"pagequality\" width=100% class=quality$q>".wfMsgForContent( "proofreadpage_quality{$q}_message" )."</div>"; |
621 | 621 | $out = "__NOEDITSECTION__[[Category:".wfMsgForContent( "proofreadpage_quality{$q}_category" )."]]"; |
622 | 622 | return $wgParser->recursiveTagParse( $out . $message); |
623 | 623 | } |
— | — | @@ -880,7 +880,7 @@ |
881 | 881 | ? $editpage->unmakesafe( $text ) |
882 | 882 | : $text; |
883 | 883 | |
884 | | - if( $editpage->quality != null ) { |
| 884 | + if( in_array( $editpage->quality , array( "0", "1", "2", "3", "4" ) ) ) { |
885 | 885 | //format the page |
886 | 886 | $text = "<noinclude><pagequality level=\"".$editpage->quality."\" user=\"".$editpage->username."\" />" |
887 | 887 | .$editpage->header."\n\n\n</noinclude>" |
Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -562,7 +562,7 @@ |
563 | 563 | |
564 | 564 | var t_row = document.createElement("tr"); |
565 | 565 | t_row.setAttribute("valign","top"); |
566 | | - cell_left.style.cssText = "width:50%; padding-right:0.5em;"; |
| 566 | + cell_left.style.cssText = "width:50%; padding-right:0.5em;vertical-align:top;"; |
567 | 567 | cell_right.setAttribute("rowspan","3"); |
568 | 568 | t_row.appendChild(cell_left); |
569 | 569 | t_row.appendChild(cell_right); |