X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FProtectionForm.php;h=3e639b92a2e8e21bf3e58bdb9e8b45801610ab13;hb=172de0b957c9ff16e67fa6231e8913506c0d6568;hp=a1be27184838b6802c9ffe6fcaeec924b6d6e7ee;hpb=31f66267ae9763dcecd44c1e749fe0e91b5a3a01;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index a1be271848..3e639b92a2 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -333,7 +333,9 @@ class ProtectionForm { ); if ( !$status->isOK() ) { - $this->show( $out->parseInlineAsInterface( $status->getWikiText() ) ); + $this->show( $out->parseInlineAsInterface( + $status->getWikiText( false, false, $this->mContext->getLanguage() ) + ) ); return false; }