r91821 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91820‎ | r91821 | r91822 >
Date:08:17, 10 July 2011
Author:nikerabbit
Status:deferred
Tags:
Comment:
Fu r91796 - brainfart
Modified paths:
  • /trunk/extensions/Translate/Groups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Groups.php
@@ -145,7 +145,7 @@
146146
147147 public function getSourceLanguage() {
148148 $conf = $this->getFromConf( 'BASIC', 'sourcelanguage' );
149 - return $conf !== 'null' ? $conf : 'en';
 149+ return $conf !== null ? $conf : 'en';
150150 }
151151
152152 protected function getFromConf( $section, $key ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91796Implement per-group default source language. Based on patch by Harald Stowasser....nikerabbit18:29, 9 July 2011

Status & tagging log