daniel added a comment.

Please keep in mind that (at least for mediawiki), things in the Data namespace are *not* files, they do not *have* a file type or mime type or media type.

Page content has a content model, and a content format. Yes, this distinction is kind of silly on a conceptual level, and should go away eventually. But for now, uploaded media and page content are two fundamentally separate and different things.

So instead of exposing filetype: or filemime: based on the file extension in the title, MediaWiki should just always expose the content model of all pages (but not the content format, that's internal).


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

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

To: Yurik, daniel
Cc: 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