Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | $wgSpecialPageGroups['IndexPages'] = 'pages'; |
35 | 35 | |
36 | 36 | # Bump the version number every time you change proofread.js |
37 | | -$wgProofreadPageVersion = 25; |
| 37 | +$wgProofreadPageVersion = 26; |
38 | 38 | |
39 | 39 | # Max width of zoomable image |
40 | 40 | $wgProofreadPageMaxWidth = 2048; |
Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -157,14 +157,14 @@ |
158 | 158 | pageFooter = pageFooter.split("&").join("&") |
159 | 159 | |
160 | 160 | container.innerHTML = '' |
161 | | - + '<div id="prp_header" style="display:none;">' |
| 161 | + + '<div id="prp_header" style="">' |
162 | 162 | + '<span style="color:gray;font-size:80%;line-height:100%;">' |
163 | 163 | + escapeQuotesHTML(proofreadPageMessageHeader) + '</span>' |
164 | 164 | + '<textarea name="wpHeaderTextbox" rows="2" cols="80" tabindex=1>' + pageHeader + '</textarea><br/>' |
165 | 165 | + '<span style="color:gray;font-size:80%;line-height:100%;">' |
166 | 166 | + escapeQuotesHTML(proofreadPageMessagePageBody) + '</span></div>' |
167 | 167 | + '<textarea name="wpTextbox1" id="wpTextbox1" tabindex=1 style="height:' + ( self.DisplayHeight - 6 ) + 'px;">' + pageBody + '</textarea>' |
168 | | - + '<div id="prp_footer" style="display:none;">' |
| 168 | + + '<div id="prp_footer" style="">' |
169 | 169 | + '<span style="color:gray;font-size:80%;line-height:100%;">' |
170 | 170 | + escapeQuotesHTML(proofreadPageMessageFooter) + '</span><br/>' |
171 | 171 | + '<textarea name="wpFooterTextbox" rows="2" cols="80" tabindex=1>'+pageFooter+'</textarea></div>'; |
— | — | @@ -718,8 +718,8 @@ |
719 | 719 | pr_make_edit_area(self.text_container,new_text.value); |
720 | 720 | var copywarn = document.getElementById("editpage-copywarn"); |
721 | 721 | f.insertBefore(table,copywarn); |
722 | | - if (self.proofreadpage_show_headers){ |
723 | | - pr_toggle_visibility(); |
| 722 | + if ( ! self.proofreadpage_show_headers){ |
| 723 | + hookEvent( 'load', pr_toggle_visibility ); |
724 | 724 | } |
725 | 725 | } |
726 | 726 | else { |