r87591 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87590‎ | r87591 | r87592 >
Date:22:17, 6 May 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix fail attempt at passing string by reference in r87589
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -274,7 +274,7 @@
275275
276276 $tpl->setRef( 'mimetype', $wgMimeType );
277277 $tpl->setRef( 'jsmimetype', $wgJsMimeType );
278 - $tpl->setRef( 'charset', 'UTF-8' );
 278+ $tpl->set( 'charset', 'UTF-8' );
279279 $tpl->setRef( 'wgScript', $wgScript );
280280 $tpl->setRef( 'skinname', $this->skinname );
281281 $tpl->set( 'skinclass', get_class( $this ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87589Kill off the long deprecated $wgInputEncoding and $wgOutputEncoding globalsreedy22:09, 6 May 2011

Status & tagging log