r52691 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52690‎ | r52691 | r52692 >
Date:13:00, 2 July 2009
Author:thomasv
Status:deferred
Tags:
Comment:
minor fix
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -220,8 +220,8 @@
221221 }
222222
223223 // 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 );
226226 foreach ( $attributes as $key => $val ) {
227227 $header = str_replace( "{{{{$key}}}}", $val, $header );
228228 $footer = str_replace( "{{{{$key}}}}", $val, $footer );
@@ -321,8 +321,8 @@
322322 );
323323 $out->addScript( "<script type=\"{$wgJsMimeType}\">
324324 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 ) ) . "\";
327327 </script>\n"
328328 );
329329 }

Status & tagging log