r82014 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82013‎ | r82014 | r82015 >
Date:14:42, 12 February 2011
Author:ialex
Status:ok
Tags:
Comment:
No need to set a new MediaWiki_I18N object, already done when creating a QuickTemplate object
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -156,10 +156,6 @@
157157
158158 $this->setMembers();
159159 $tpl = $this->setupTemplate( $this->template, 'skins' );
160 -
161 - #if ( $wgUseDatabaseMessages ) { // uncomment this to fall back to GetText
162 - $tpl->setTranslator( new MediaWiki_I18N() );
163 - #}
164160 wfProfileOut( __METHOD__ . '-init' );
165161
166162 wfProfileIn( __METHOD__ . '-stuff' );

Status & tagging log