X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLTitleTextField.php;h=93d09e7f14d1f57f83bbcd078d0799a7fd364c8c;hb=b79bc0a2740b991525aae355ed216e0b9dc3aa86;hp=0ad41d43bd267dfd19d647a2e808b7883a18bab2;hpb=3e83cc276aa498fbf5786a1f9bdd6285fa03cdc9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLTitleTextField.php b/includes/htmlform/fields/HTMLTitleTextField.php index 0ad41d43bd..93d09e7f14 100644 --- a/includes/htmlform/fields/HTMLTitleTextField.php +++ b/includes/htmlform/fields/HTMLTitleTextField.php @@ -1,5 +1,6 @@ getNsText( $this->mParams['namespace'] ); + $namespaceName = MediaWikiServices::getInstance()->getContentLanguage()-> + getNsText( $this->mParams['namespace'] ); $title = Title::newFromTextThrow( $namespaceName . ':' . $value ); } } catch ( MalformedTitleException $e ) {