Page MenuHomePhabricator

I can't upload a new version of a file that is larger than 100 MB because of file limit in Special:Upload
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

When I click on "Upload a new version of this file", it prevents me to upload the file because the file limit is too low (100 MB), while the original file is much larger.

What happens?:
The upload limit of 100 MB is too low to upload a new version of a file that is originally > 100 MB

What should have happened instead?:
The new version of the file should have been uploaded without limits

Software version (skip for WMF-hosted wikis like Wikipedia):
Wikimedia Commons

Other information (browser name/version, screenshots, etc.):
Years with the same situation, I'm very tired

3c7d45fc-443c-4a70-aef6-27b72a4ccf34.jpeg (773×1 px, 155 KB)

a1aaee09-10ef-4786-9930-3a82ae104331.jpeg (348×1 px, 39 KB)

2b21b7f2-c76c-41ea-9132-b3a820020194.jpeg (284×1 px, 46 KB)

1b504072-e07b-467e-81d3-b6f275e72993.jpeg (228×1 px, 31 KB)

Event Timeline

Sannita renamed this task from I cant upload a new version of the picture to I can't upload a new version of a file that is larger than 100 MB because of file limit in Special:Upload.Mar 3 2024, 3:01 PM
Sannita added a project: UploadWizard.
Sannita updated the task description. (Show Details)
Sannita removed a project: UploadWizard.
Sannita subscribed.

I think there are two separate tickets here:

  • Special:Upload should fallback to chunked uploads for files > the limit
  • UploadWizard should allow overriding warnings at the publish stage (right now, uploadwizard lets you override any warnings at the stash stage by pressing ok, but treats all warnings at the publish stage as fatal. That means you can override warnings like "sha1 matches a file that already exists", but cannot override "a file with that name already exists". I get the impression that this was an intentional choice, but i dont think it was a good one)

I think there are two separate tickets here:

  • Special:Upload should fallback to chunked uploads for files > the limit

This is T74768: Add chunked upload support to standard Special:Upload for files larger than POST limit