X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FProtectionForm.php;h=3e639b92a2e8e21bf3e58bdb9e8b45801610ab13;hb=e900893531e76fb8f80c1c9b5be459fd02862c3c;hp=a1be27184838b6802c9ffe6fcaeec924b6d6e7ee;hpb=d2f799f103d0b576e2e5b1764df449ec3016d3c4;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; }