Smalyshev added a comment.

The backend code can understand that, for example, filemime:application/vnd.geo+json is about a MIME type that is known to be in the Data: namespace, and magically use the proper Cirrus field, even if it is not called filemime internally.

This is technically possible but looks awfully like Wikimedia-specific thing, which I don't like having in the code. So I wonder how we make it flexible enough so that we don't have to special-case each mime type.

filemime:… can be an alias for filetype:… with this algorithm.

Don't like this - MIME and mediawiki file type are rather different things. I'd leave MIME alone - it's pretty clear what it is and should be used for this specific purpose, MIME types. The fact that is has distinct domain with filetype doesn't mean they have to be united.


TASK DETAIL
https://phabricator.wikimedia.org/T155137

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Yurik, Smalyshev
Cc: Smalyshev, daniel, aude, Lydia_Pintscher, thiemowmde, Jonas, Aklapper, debt, Pokefan95, D3r1ck01, Izno, Wikidata-bugs, Base, El_Grafo, jayvdb, zhuyifei1999, Yurik, Steinsplitter, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to