Nikki added a comment.
In T355427#9472831 <https://phabricator.wikimedia.org/T355427#9472831>, @Lucas_Werkmeister_WMDE wrote: > Automatically shortening https://en.wikipedia.org/wiki/Victor_Hugo to “en:Victor Hugo” is an interesting idea that I don’t remember being proposed before… though it has the problem that `en:` is ambiguous between English Wikipedia, English Wikibooks, English Wikisource, etc. (which isn’t a problem for `commons:`). Commons would have a different problem: `commons:` is specifically for filenames (the values of Commons media statements). More generally, I don't think we should use something which looks like an RDF prefix unless it actually is a defined RDF prefix. `commons:` is already confusing for me, I keep trying to do things like `replace(str(?image), str(commons:), "")` to remove the prefix and get the actual value of the statement, which fails because `commons:` isn't a real prefix. Making use of prefixes would be useful though. If it used the prefixes which have been defined when displaying results, then people could define any they want. It would be really useful for federated queries too (e.g. the first link under "World" on https://www.wikidata.org/wiki/User:Nikki/TGN defines `tgn:` but the results still display the full URI) TASK DETAIL https://phabricator.wikimedia.org/T355427 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Nikki, Lucas_Werkmeister_WMDE, Aklapper, TomT0m, Danny_Benjafield_WMDE, Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, EBjune, KimKelting, merbst, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
