Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | const BEFORE_PROCESSING = 1; |
25 | 25 | const LARGE_FILE_SERVER = 2; |
26 | 26 | const EMPTY_FILE = 3; |
27 | | - const MIN_LENGHT_PARTNAME = 4; |
| 27 | + const MIN_LENGTH_PARTNAME = 4; |
28 | 28 | const ILLEGAL_FILENAME = 5; |
29 | 29 | const PROTECTED_PAGE = 6; |
30 | 30 | const OVERWRITE_EXISTING_FILE = 7; |
— | — | @@ -300,7 +300,7 @@ |
301 | 301 | $this->mainUploadForm( wfMsgHtml( 'emptyfile' ) ); |
302 | 302 | break; |
303 | 303 | |
304 | | - case self::MIN_LENGHT_PARTNAME: |
| 304 | + case self::MIN_LENGTH_PARTNAME: |
305 | 305 | $this->mainUploadForm( wfMsgHtml( 'minlength1' ) ); |
306 | 306 | break; |
307 | 307 | |
— | — | @@ -425,7 +425,7 @@ |
426 | 426 | } |
427 | 427 | |
428 | 428 | if( strlen( $partname ) < 1 ) { |
429 | | - return self::MIN_LENGHT_PARTNAME; |
| 429 | + return self::MIN_LENGTH_PARTNAME; |
430 | 430 | } |
431 | 431 | |
432 | 432 | $this->mLocalFile = wfLocalFile( $nt ); |