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:
d544fab
)
Fix bug that rejected renames to one-character titles
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 31 May 2003 20:22:44 +0000
(20:22 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 31 May 2003 20:22:44 +0000
(20:22 +0000)
includes/SpecialMovepage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialMovepage.php
b/includes/SpecialMovepage.php
index
2a67b95
..
8d3d79d
100644
(file)
--- a/
includes/SpecialMovepage.php
+++ b/
includes/SpecialMovepage.php
@@
-117,7
+117,7
@@
class MovePageForm {
$this->oldid = $this->ot->getArticleID();
$this->newid = $this->nt->getArticleID();
- if ( strlen( trim( $this->ndt ) ) <
2
) {
+ if ( strlen( trim( $this->ndt ) ) <
1
) {
$this->showForm( wfMsg( "articleexists" ) );
return;
}