if($wgLanguageCode != $wgContLanguageCode &&
!in_array($wgLanguageCode, $wgContLang->getVariants())) {
- $err = wfMsg('allmessagesnotsupportedUI');
+ $err = wfMsg('allmessagesnotsupportedUI', $wgLanguageCode);
$wgOut->addHTML( $err );
return;
}
'allmessages' => 'All system messages',
'allmessagestext' => 'This is a list of all system messages available in the MediaWiki: namespace.',
-'allmessagesnotsupportedUI' => 'Your current interface language is not supported by Special:AllMessages at this site.',
+'allmessagesnotsupportedUI' => 'Your current interface language <b>$1</b> is not supported by Special:AllMessages at this site.',
'allmessagesnotsupportedDB' => 'Special:AllMessages not supported because wgUseDatabaseMessages is off.',
# Thumbnails