mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
Merge "Show error messages in content language to avoid cache issues"
This commit is contained in:
commit
17df49d426
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue