Merge "Show error messages in content language to avoid cache issues"

This commit is contained in:
jenkins-bot 2013-10-16 09:16:50 +00:00 committed by Gerrit Code Review
commit 17df49d426

View file

@ -1173,7 +1173,7 @@ class Cite {
# ments to functions. If $1 is not used in the message, wfMessage will
# just ignore the extra parameter.
$ret = '<strong class="error mw-ext-cite-error">' .
wfMessage( 'cite_error', wfMessage( $key, $param )->plain() )->plain() .
wfMessage( 'cite_error', wfMessage( $key, $param )->inContentLanguage()->plain() )->inContentLanguage()->plain() .
'</strong>';
if ( $parse == 'parse' ) {
$ret = $this->parse( $ret );