This was lost in a rebase at some point.
Change-Id: I46f376a82205a5c99b98c9e971f9e9d7868ce9fb
$context->getTitle()->resetArticleID( 0 );
}
+ $contLang = $config->get( 'ContLang' );
$context->getOutput()->sendCacheControl();
header( "Content-Type: {$config->get( 'MimeType' )}; charset=UTF-8" );
- header( "Content-Language: {$config->get( 'LanguageCode' )}" );
+ header( "Content-Language: {$contLang->getHtmlCode()}" );
if ( $this->useGzip() ) {
if ( wfClientAcceptsGzip() ) {
header( 'Content-Encoding: gzip' );