dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b2a72
)
Fix the order of the parameters for htmlform-title-badnamespace
author
mainframe98
<k.s.werf@hotmail.com>
Sat, 9 Mar 2019 16:00:26 +0000
(17:00 +0100)
committer
mainframe98
<k.s.werf@hotmail.com>
Sat, 9 Mar 2019 16:00:26 +0000
(17:00 +0100)
The name of the page is the first parameter, and the namespace is
the second parameter.
Change-Id: I738cdd920d0ce641837c5dc1da391602a15df794
includes/htmlform/fields/HTMLTitleTextField.php
patch
|
blob
|
history
diff --git
a/includes/htmlform/fields/HTMLTitleTextField.php
b/includes/htmlform/fields/HTMLTitleTextField.php
index
dd9f793
..
1eda33c
100644
(file)
--- 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', $t
his->mParams['namespace'], $text
);
+ return $this->msg( 'htmlform-title-badnamespace', $t
ext, $this->mParams['namespace']
);
}
if ( $this->mParams['creatable'] && !$title->canExist() ) {