Index: trunk/phase3/includes/Title.php |
— | — | @@ -2942,7 +2942,7 @@ |
2943 | 2943 | # (so we can undo bad moves right after they're done). |
2944 | 2944 | |
2945 | 2945 | if ( 0 != $newid ) { # Target exists; check for validity |
2946 | | - if ( ! $this->isValidMoveTarget( $nt ) ) { |
| 2946 | + if ( !$this->isValidMoveTarget( $nt ) ) { |
2947 | 2947 | $errors[] = array( 'articleexists' ); |
2948 | 2948 | } |
2949 | 2949 | } else { |
— | — | @@ -3422,7 +3422,7 @@ |
3423 | 3423 | */ |
3424 | 3424 | public function isValidMoveTarget( $nt ) { |
3425 | 3425 | $dbw = wfGetDB( DB_MASTER ); |
3426 | | - # Is it an existsing file? |
| 3426 | + # Is it an existing file? |
3427 | 3427 | if ( $nt->getNamespace() == NS_FILE ) { |
3428 | 3428 | $file = wfLocalFile( $nt ); |
3429 | 3429 | if ( $file->exists() ) { |