Page MenuHomePhabricator

Remove X-Content-Dimensions for multipage originals
Closed, ResolvedPublic


As discovered in T173374: Deleting file on Commons "Error deleting file: An unknown error occurred in storage backend "local-multiwrite"." a big X-Content-Dimensions header might also prevent deletion of files. We should list all originals types that can be multipage (and thus might contain a big X-C-D header) and send a X-Remove-Content-Dimensions header to remove said header.

Event Timeline

Change 379528 had a related patch set uploaded (by Gilles; owner: Gilles):
[mediawiki/core@master] Clean up X-Content-Dimensions

Change 379528 merged by jenkins-bot:
[mediawiki/core@master] Clean up X-Content-Dimensions

Started running the cleanup script on Terbium, clearing the header for TIFFs, PDFs and DJVUs.

Cleanup of non-Commons wikis complete, started the cleanup of Commons. There are 1.2 million files to process there, at the current rate it's going to take approximately 9 days to complete.

Cleanup should be complete for TIFFs, PDFs and DJVUs on all wikis.