Smalyshev added a comment.

for commons data, we may not need a canonical object (concept) URI.

Well, if we plan to refer to it in RDF, we need some URI. RDF does not make distinction between real concept URIs and "just" URIs which don't mean anything special, and we could kind of pretend that this is "just" URI. But why do it if we do have an identifyable dataset which can be (and in many contexts is) treated as its own entity? We might as well have proper concept URI for it. May come handy later.

we cannot drop the file extension. In some cases, both Data:Foo.map and Data:Foo.tab exist.

OK, it's not a problem to keep the extension. However, it won't be efficient to make all redirects in PHP, so redirect should happen before content handlers come into play, which means redirects should be uniform across all data types.

I'm not sure what should happen if we ask, say, for text/csv and this content handler has no CSV representation. Error page?

csv should not be the default format,

I assume all handlers would support at least HTML (as redirect to wiki page) and some default representation, probably type-dependent, does not have to be CSV. They can support CSV additionally if the type is appropriate.


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

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

To: Smalyshev
Cc: Dzahn, GWicke, tstarling, Aklapper, Jonas, Smalyshev, mkroetzsch, Lydia_Pintscher, daniel, QZanden, D3r1ck01, Izno, suriyaa, Eevans, mobrovac, Hardikj, Wikidata-bugs, aude, jayvdb, Southparkfan, fbstj, RobLa-WMF, santhosh, Mbch331, Jay8g, Ltrlg, Glaisher, bd808, Krenair, Legoktm
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to