overrideConfigValues( [ MainConfigNames::NamespaceAliases => $config['wgNamespaceIds'], MainConfigNames::MetaNamespace => strtr( $config['wgFormattedNamespaces'][NS_PROJECT], ' ', '_' ), MainConfigNames::MetaNamespaceTalk => strtr( $config['wgFormattedNamespaces'][NS_PROJECT_TALK], ' ', '_' ), // TODO: Move this to $config MainConfigNames::Localtimezone => $data['localTimezone'], // Data used for the tests assumes there are no variants for English. // Language variants are tested using other languages. MainConfigNames::UsePigLatinVariant => false, ] + $config ); $this->setUserLang( $config['wgContentLanguage'] ); $this->setContentLang( $config['wgContentLanguage'] ); } }