Merge "FauxRequest: don’t override getValues()"
[lhc/web/wiklou.git] / includes / ProtectionForm.php
index a1be271..3e639b9 100644 (file)
@@ -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;
                }