A message (fileexists) with the same name of another one was introduced in r24313...
authorRotem Liss <rotem@users.mediawiki.org>
Sun, 29 Jul 2007 02:18:16 +0000 (02:18 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sun, 29 Jul 2007 02:18:16 +0000 (02:18 +0000)
includes/filerepo/FSRepo.php
languages/messages/MessagesEn.php
languages/messages/MessagesHe.php
maintenance/language/messages.inc

index d3d1b70..84ec9a2 100644 (file)
@@ -166,10 +166,10 @@ class FSRepo extends FileRepo {
                                        $hashSource = sha1_file( $srcPath );
                                        $hashDest = sha1_file( $dstPath );
                                        if ( $hashSource != $hashDest ) {
-                                               $status->fatal( 'fileexists', $dstPath );
+                                               $status->fatal( 'fileexistserror', $dstPath );
                                        }
                                } else {
-                                       $status->fatal( 'fileexists', $dstPath );
+                                       $status->fatal( 'fileexistserror', $dstPath );
                                }
                        }
                }
index 4383bb1..139b3e4 100644 (file)
@@ -767,7 +767,7 @@ Please report this to an administrator, making note of the URL.',
 'filedeleteerror'      => 'Could not delete file "$1".',
 'directorycreateerror' => 'Could not create directory "$1".',
 'filenotfound'         => 'Could not find file "$1".',
-'fileexists'           => 'Unable to write to file "$1": file exists',
+'fileexistserror'      => 'Unable to write to file "$1": file exists',
 'unexpected'           => 'Unexpected value: "$1"="$2".',
 'formerror'            => 'Error: could not submit form',
 'badarticleerror'      => 'This action cannot be performed on this page.',
index 6ac53d5..98b5ed1 100644 (file)
@@ -505,7 +505,7 @@ $messages = array(
 'filedeleteerror'      => 'מחיקת "$1" נכשלה.',
 'directorycreateerror' => 'יצירת התיקייה "$1" נכשלה.',
 'filenotfound'         => 'הקובץ "$1" לא נמצא.',
-'fileexists'           => 'הכתיבה לקובץ "$1" נכשלה: הקובץ קיים',
+'fileexistserror'      => 'הכתיבה לקובץ "$1" נכשלה: הקובץ קיים',
 'unexpected'           => 'ערך לא צפוי: "$1"="$2"',
 'formerror'            => 'שגיאה: לא יכול לשלוח טופס.',
 'badarticleerror'      => 'לא ניתן לבצע פעולה זו בדף זה.',
index bcbdb4c..78644ce 100644 (file)
@@ -304,7 +304,7 @@ $wgMessageStructure = array(
                'filedeleteerror',
                'directorycreateerror',
                'filenotfound',
-               'fileexists',
+               'fileexistserror',
                'unexpected',
                'formerror',
                'badarticleerror',