$wgCanonicalNamespaceNames = $wgCanonicalNamespaceNames + $wgExtraNamespaces;
}
+// Merge in the legacy language codes, unless overridden in the config
+if ( !isset( $wgDummyLanguageCodes ) ) {
+ $wgDummyLanguageCodes = [
+ 'qqq' => 'qqq', // Used for message documentation
+ 'qqx' => 'qqx', // Used for viewing message keys
+ ] + $wgExtraLanguageCodes + LanguageCode::getDeprecatedCodeMapping();
+}
+
// These are now the same, always
// To determine the user language, use $wgLang->getCode()
$wgContLanguageCode = $wgLanguageCode;