r44988 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44987‎ | r44988 | r44989 >
Date:23:12, 23 December 2008
Author:brion
Status:ok
Tags:
Comment:
MIN_LENGHT_PARTNAME -> MIN_LENGTH_PARTNAME
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUpload.php
@@ -23,7 +23,7 @@
2424 const BEFORE_PROCESSING = 1;
2525 const LARGE_FILE_SERVER = 2;
2626 const EMPTY_FILE = 3;
27 - const MIN_LENGHT_PARTNAME = 4;
 27+ const MIN_LENGTH_PARTNAME = 4;
2828 const ILLEGAL_FILENAME = 5;
2929 const PROTECTED_PAGE = 6;
3030 const OVERWRITE_EXISTING_FILE = 7;
@@ -300,7 +300,7 @@
301301 $this->mainUploadForm( wfMsgHtml( 'emptyfile' ) );
302302 break;
303303
304 - case self::MIN_LENGHT_PARTNAME:
 304+ case self::MIN_LENGTH_PARTNAME:
305305 $this->mainUploadForm( wfMsgHtml( 'minlength1' ) );
306306 break;
307307
@@ -425,7 +425,7 @@
426426 }
427427
428428 if( strlen( $partname ) < 1 ) {
429 - return self::MIN_LENGHT_PARTNAME;
 429+ return self::MIN_LENGTH_PARTNAME;
430430 }
431431
432432 $this->mLocalFile = wfLocalFile( $nt );

Status & tagging log