Fix bug that rejected renames to one-character titles
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 31 May 2003 20:22:44 +0000 (20:22 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 31 May 2003 20:22:44 +0000 (20:22 +0000)
includes/SpecialMovepage.php

index 2a67b95..8d3d79d 100644 (file)
@@ -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;
                }