From 371b222f35995013bf1b300330dc8dd39cf8f2c0 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 23 Jul 2010 17:11:20 +0000 Subject: [PATCH] Typo, style fix --- includes/Title.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ) { -- 2.20.1