X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUpload.php;h=073e58df15cd891ba7b2dff282c82977c6cb88e1;hb=7ececd89751310a7d46310b10ca80d5a0aa77528;hp=f4a4818b3261491a52fa648f0e8ff07e75d17829;hpb=6ad363a177c2fb8ca77e889f7328ef0d90650422;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index f4a4818b32..073e58df15 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -678,7 +678,6 @@ class SpecialUpload extends SpecialPage { */ protected function processVerificationError( $details ) { switch ( $details['status'] ) { - /** Statuses that only require name changing **/ case UploadBase::MIN_LENGTH_PARTNAME: $this->showRecoverableUploadError( $this->msg( 'minlength1' )->escaped() ); @@ -821,6 +820,7 @@ class SpecialUpload extends SpecialPage { $gallery = ImageGalleryBase::factory( false, $this->getContext() ); $gallery->setShowBytes( false ); + $gallery->setShowDimensions( false ); foreach ( $dupes as $file ) { $gallery->add( $file->getTitle() ); }