The name of the page is the first parameter, and the namespace is
the second parameter.
Change-Id: I738cdd920d0ce641837c5dc1da391602a15df794
if ( $this->mParams['namespace'] !== false &&
!$title->inNamespace( $this->mParams['namespace'] )
) {
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() ) {
}
if ( $this->mParams['creatable'] && !$title->canExist() ) {