From: Aryeh Gregor Date: Fri, 23 Jul 2010 17:11:20 +0000 (+0000) Subject: Typo, style fix X-Git-Tag: 1.31.0-rc.0~35989 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=371b222f35995013bf1b300330dc8dd39cf8f2c0;p=lhc%2Fweb%2Fwiklou.git Typo, style fix --- diff --git a/includes/Title.php b/includes/Title.php index 1434491685..e515783667 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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() ) {