Page MenuHomePhabricator

Hyperlink for any statement of a WikiBase item
Closed, DuplicatePublicFeature

Description

Feature summary:
On an item page, every statement has a (link) or (share) text next to it so that anyone could get a hyperlink to that specific statement.

Use case(s):
Imagine there is a well-made statement that is supported by a quote. If I need to share it with someone over the internet, how do I do that? I wish I could just copy it to the clipboard using a (link) or (share) next to a statement. I could get something like https://www.wikidata.org/wiki/Q29934200#P856 which scrolls me directly to the "Official site" statement of the "Wikidata Item" item page.

Benefits:
People could send each other statements using hyperlinks. It also gives the motivation to support a statement with quotes if one knows it could be later easily shared.

It could be implemented via an HTML anchor. The next step would be making it possible to have a separate web page for any statement where it would be easier to see its relations to the multiple other elements and extend it in a focused way.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The user script User:Nikki/AnchorLinks.js by @Nikki does this. Maybe it is worth promoting this to a gadget next?

Oh, so the links like https://www.wikidata.org/wiki/Q5778278#P461 and https://www.wikidata.org/wiki/Q5778278#Q5778278$87704643-425e-ff23-0ac1-2df266a41ac4 are actually working, using HTML code snippets with id= it's possible to generate it. Good to know. Thanks for a hint!