Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -289,8 +289,8 @@ |
290 | 290 | ); |
291 | 291 | $out->addScript( "<script type=\"{$wgJsMimeType}\"> |
292 | 292 | var prp_index_attributes = \"" . Xml::escapeJsString( wfMsgForContent( 'proofreadpage_index_attributes' ) ) . "\"; |
293 | | -var prp_default_header = \"" . Xml::escapeJsString( wfMsgForContent( 'proofreadpage_default_header' ) ) . "\"; |
294 | | -var prp_default_footer = \"" . Xml::escapeJsString( wfMsgForContent( 'proofreadpage_default_footer' ) ) . "\"; |
| 293 | +var prp_default_header = \"" . Xml::escapeJsString( wfMsgGetKey( 'proofreadpage_default_header', true, false, false ) ) . "\"; |
| 294 | +var prp_default_footer = \"" . Xml::escapeJsString( wfMsgGetKey( 'proofreadpage_default_footer', true, false, false ) ) . "\"; |
295 | 295 | </script>\n" |
296 | 296 | ); |
297 | 297 | } |