Fix fail attempt at passing string by reference in r87589
authorSam Reed <reedy@users.mediawiki.org>
Fri, 6 May 2011 22:17:48 +0000 (22:17 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 6 May 2011 22:17:48 +0000 (22:17 +0000)
includes/SkinTemplate.php

index 4b60b2b..7351265 100644 (file)
@@ -274,7 +274,7 @@ class SkinTemplate extends Skin {
 
                $tpl->setRef( 'mimetype', $wgMimeType );
                $tpl->setRef( 'jsmimetype', $wgJsMimeType );
-               $tpl->setRef( 'charset', 'UTF-8' );
+               $tpl->set( 'charset', 'UTF-8' );
                $tpl->setRef( 'wgScript', $wgScript );
                $tpl->setRef( 'skinname', $this->skinname );
                $tpl->set( 'skinclass', get_class( $this ) );