Typo, style fix
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 23 Jul 2010 17:11:20 +0000 (17:11 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 23 Jul 2010 17:11:20 +0000 (17:11 +0000)
includes/Title.php

index 1434491..e515783 100644 (file)
@@ -2942,7 +2942,7 @@ class Title {
                # (so we can undo bad moves right after they're done).
 
                if ( 0 != $newid ) { # Target exists; check for validity
-                       if ( ! $this->isValidMoveTarget( $nt ) ) {
+                       if ( !$this->isValidMoveTarget( $nt ) ) {
                                $errors[] = array( 'articleexists' );
                        }
                } else {
@@ -3422,7 +3422,7 @@ class Title {
         */
        public function isValidMoveTarget( $nt ) {
                $dbw = wfGetDB( DB_MASTER );
-               # Is it an existsing file?
+               # Is it an existing file?
                if ( $nt->getNamespace() == NS_FILE ) {
                        $file = wfLocalFile( $nt );
                        if ( $file->exists() ) {