Skip to content

[Feature]: only accept actually supported filetypes #6651

@mnalis

Description

@mnalis

What is the user problem or growth opportunity you want to see solved?

It is confusing that I can share images to CommonsApp and complete most steps, but then upload fails.

It would be better if app would straight-out refuse unsupported file types.

According to https://commons.wikimedia.org/wiki/Commons:File_types#Images, recommend are: SVG, PNG, and JPEG. But it also seems to allow e.g. WEBP and GIF.

so the app should:

  • determine what files it will support, and what not. I'd suggest sticking with ones listed above.
  • in its internal file selector, disable (shade-out) types the app doesn't support / won't be able to upload -- e.g. currently .heic is disabled so can't be selected (see screenshot below)
  • when shared from other app, Commons should immediately complain that this file type is not supported (currently it allows sharing e.g. .heic files, but the upload then fails)

Alternatively to refusing file types, Commons app might include converter to convert them to one of supported file types (e.g.

How do you know that this problem exists today? Why is this important?

I've tested it with recent app release 6.2.1 and 6.3.0 git beta branches

Who will benefit from it?

Users sharing non-JPEG images

Anything else you would like to add?

Image

example showing .heic being disabled

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions