From: jenkins-bot Date: Mon, 11 Mar 2019 20:28:07 +0000 (+0000) Subject: Merge "Fix the order of the parameters for htmlform-title-badnamespace" X-Git-Tag: 1.34.0-rc.0~2558 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=7b88a721368c0549f0dc790e3157e7cbcf2f6378;hp=a71210724cc300180e3d9f427608296d25977f92;p=lhc%2Fweb%2Fwiklou.git Merge "Fix the order of the parameters for htmlform-title-badnamespace" --- diff --git a/includes/htmlform/fields/HTMLTitleTextField.php b/includes/htmlform/fields/HTMLTitleTextField.php index dd9f793e1f..1eda33c296 100644 --- a/includes/htmlform/fields/HTMLTitleTextField.php +++ b/includes/htmlform/fields/HTMLTitleTextField.php @@ -66,7 +66,7 @@ class HTMLTitleTextField extends HTMLTextField { if ( $this->mParams['namespace'] !== false && !$title->inNamespace( $this->mParams['namespace'] ) ) { - return $this->msg( 'htmlform-title-badnamespace', $this->mParams['namespace'], $text ); + return $this->msg( 'htmlform-title-badnamespace', $text, $this->mParams['namespace'] ); } if ( $this->mParams['creatable'] && !$title->canExist() ) {