Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php |
— | — | @@ -151,8 +151,8 @@ |
152 | 152 | */ |
153 | 153 | function navigation( $title ) { |
154 | 154 | $page_namespace = $this->page_namespace; |
155 | | - $default_header = wfMsgGetKey( 'proofreadpage_default_header', true, true, false ); |
156 | | - $default_footer = wfMsgGetKey( 'proofreadpage_default_footer', true, true, false ); |
| 155 | + $default_header = wfMsgForContentNoTrans( 'proofreadpage_default_header' ); |
| 156 | + $default_footer = wfMsgForContentNoTrans( 'proofreadpage_default_footer' ); |
157 | 157 | |
158 | 158 | $err = array( '', '', '', '', '', '', '' ); |
159 | 159 | $index_title = Title::newFromText( $title->pr_index_title ); |
— | — | @@ -334,8 +334,8 @@ |
335 | 335 | $out->addModules( 'ext.proofreadpage.index' ); |
336 | 336 | $out->addInlineScript(" |
337 | 337 | var prp_index_attributes = \"" . Xml::escapeJsString( wfMsgForContent( 'proofreadpage_index_attributes' ) ) . "\"; |
338 | | -var prp_default_header = \"" . Xml::escapeJsString( wfMsgGetKey( 'proofreadpage_default_header', true, true, false ) ) . "\"; |
339 | | -var prp_default_footer = \"" . Xml::escapeJsString( wfMsgGetKey( 'proofreadpage_default_footer', true, true, false ) ) . "\";" ); |
| 338 | +var prp_default_header = \"" . Xml::escapeJsString( wfMsgForContentNoTrans( 'proofreadpage_default_header' ) ) . "\"; |
| 339 | +var prp_default_footer = \"" . Xml::escapeJsString( wfMsgForContentNoTrans( 'proofreadpage_default_footer' ) ) . "\";" ); |
340 | 340 | } |
341 | 341 | |
342 | 342 | function preparePage( $out, $m, $isEdit ) { |