Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -220,8 +220,8 @@ |
221 | 221 | } |
222 | 222 | |
223 | 223 | // Header and Footer |
224 | | - $header = $attributes['header'] ? $attributes['header'] : wfMsgGetKey( 'proofreadpage_default_header', true, false, false ); |
225 | | - $footer = $attributes['footer'] ? $attributes['footer'] : wfMsgGetKey( 'proofreadpage_default_footer', true, false, false ); |
| 224 | + $header = $attributes['header'] ? $attributes['header'] : wfMsgGetKey( 'proofreadpage_default_header', true, true, false ); |
| 225 | + $footer = $attributes['footer'] ? $attributes['footer'] : wfMsgGetKey( 'proofreadpage_default_footer', true, true, false ); |
226 | 226 | foreach ( $attributes as $key => $val ) { |
227 | 227 | $header = str_replace( "{{{{$key}}}}", $val, $header ); |
228 | 228 | $footer = str_replace( "{{{{$key}}}}", $val, $footer ); |
— | — | @@ -321,8 +321,8 @@ |
322 | 322 | ); |
323 | 323 | $out->addScript( "<script type=\"{$wgJsMimeType}\"> |
324 | 324 | var prp_index_attributes = \"" . Xml::escapeJsString( wfMsgForContent( 'proofreadpage_index_attributes' ) ) . "\"; |
325 | | -var prp_default_header = \"" . Xml::escapeJsString( wfMsgGetKey( 'proofreadpage_default_header', true, false, false ) ) . "\"; |
326 | | -var prp_default_footer = \"" . Xml::escapeJsString( wfMsgGetKey( 'proofreadpage_default_footer', true, false, false ) ) . "\"; |
| 325 | +var prp_default_header = \"" . Xml::escapeJsString( wfMsgGetKey( 'proofreadpage_default_header', true, true, false ) ) . "\"; |
| 326 | +var prp_default_footer = \"" . Xml::escapeJsString( wfMsgGetKey( 'proofreadpage_default_footer', true, true, false ) ) . "\"; |
327 | 327 | </script>\n" |
328 | 328 | ); |
329 | 329 | } |