diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 1ab29eb1590..170148cd8f3 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3180,7 +3180,7 @@ class Parser { function limitationWarn( $limitationType, $current = '', $max = '' ) { # does no harm if $current and $max are present but are unnecessary for the message $warning = wfMessage( "$limitationType-warning" )->numParams( $current, $max ) - ->inContentLanguage()->escaped(); + ->inLanguage( $this->mOptions->getUserLangObj() )->text(); $this->mOutput->addWarning( $warning ); $this->addTrackingCategory( "$limitationType-category" ); }