X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLTitleTextField.php;h=3eb3f5dfa1106014fd92ac04a4fd6026365ba002;hb=c99dbcc7d5fc3b320e288fe7550044adc36b7212;hp=a15b90e333f820043b42a458025bc2f614ce463d;hpb=1dd2e07276e1deaf431ddb01c92111038f9e2cd6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLTitleTextField.php b/includes/htmlform/fields/HTMLTitleTextField.php index a15b90e333..3eb3f5dfa1 100644 --- a/includes/htmlform/fields/HTMLTitleTextField.php +++ b/includes/htmlform/fields/HTMLTitleTextField.php @@ -51,22 +51,22 @@ class HTMLTitleTextField extends HTMLTextField { if ( $params ) { $msg->params( $params ); } - return $msg->parse(); + return $msg; } $text = $title->getPrefixedText(); if ( $this->mParams['namespace'] !== false && !$title->inNamespace( $this->mParams['namespace'] ) ) { - return $this->msg( 'htmlform-title-badnamespace', $this->mParams['namespace'], $text )->parse(); + return $this->msg( 'htmlform-title-badnamespace', $this->mParams['namespace'], $text ); } if ( $this->mParams['creatable'] && !$title->canExist() ) { - return $this->msg( 'htmlform-title-not-creatable', $text )->escaped(); + return $this->msg( 'htmlform-title-not-creatable', $text ); } if ( $this->mParams['exists'] && !$title->exists() ) { - return $this->msg( 'htmlform-title-not-exists', $text )->parse(); + return $this->msg( 'htmlform-title-not-exists', $text ); } return parent::validate( $value, $alldata );