Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -528,7 +528,7 @@ |
529 | 529 | case UploadBase::EMPTY_FILE: |
530 | 530 | $this->showUploadError( wfMsgHtml( 'emptyfile' ) ); |
531 | 531 | break; |
532 | | - case UploadBase::FILESIZE_TOO_LARGE: |
| 532 | + case UploadBase::FILE_TOO_LARGE: |
533 | 533 | $this->showUploadError( wfMsgHtml( 'largefileserver' ) ); |
534 | 534 | break; |
535 | 535 | case UploadBase::FILETYPE_BADTYPE: |