Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | $wgDjvutxt = null; |
20 | 20 | |
21 | 21 | # Bump the version number every time you change proofread.js |
22 | | -$wgProofreadPageVersion = 20; |
| 22 | +$wgProofreadPageVersion = 21; |
23 | 23 | |
24 | 24 | # Max width of zoomable image |
25 | 25 | $wgProofreadPageMaxWidth = 2048; |
Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -768,10 +768,10 @@ |
769 | 769 | var form = document.getElementById("editform"); |
770 | 770 | var header = form.elements["headerTextbox"]; |
771 | 771 | var footer = form.elements["footerTextbox"]; |
772 | | - if( ( self.proofreadpage_quality == 0 ) && ( form.elements["wpTextbox1"].value != "" ) ) { |
773 | | - self.proofreadpage_quality = 1; |
774 | | - form.elements["wpSummary"].value="/* " + proofreadPageMessageQuality1 + " */ "; |
775 | | - } |
| 772 | + //if( ( self.proofreadpage_quality == 0 ) && ( form.elements["wpTextbox1"].value != "" ) ) { |
| 773 | + // self.proofreadpage_quality = 1; |
| 774 | + // form.elements["wpSummary"].value="/* " + proofreadPageMessageQuality1 + " */ "; |
| 775 | + //} |
776 | 776 | if(header){ |
777 | 777 | var h = header.value.replace(/(\s*(\r?\n|\r))+$/, ''); |
778 | 778 | if(h) h = "<noinclude>{{PageQuality|"+self.proofreadpage_quality+"|"+self.proofreadpage_username+"}}"+h+"\n\n\n</noinclude>"; |
— | — | @@ -851,7 +851,7 @@ |
852 | 852 | function pr_add_quality(form,value){ |
853 | 853 | |
854 | 854 | var tbv = form.elements["wpTextbox1"].value; |
855 | | - if( ( ( value == 0 ) && ( tbv != "" ) ) || ( ( value >= 3 ) && ( tbv == "" ) ) ) { |
| 855 | + if( /*( ( value == 0 ) && ( tbv != "" ) ) ||*/ ( ( value >= 3 ) && ( tbv == "" ) ) ) { |
856 | 856 | switch( self.proofreadpage_quality ) { |
857 | 857 | case 4: document.editform.quality[4].checked = true; break; |
858 | 858 | case 3: document.editform.quality[3].checked = true; break; |