Page MenuHomePhabricator

[Story] Make exports formats more visible
Open, MediumPublic

Description

As a potential reuser of Wikidata's data I want to easily access the different formats that are available for an entity.

Problem:
For each entity (Item, Property, Lexeme, ...) we have a "Concept URI" link in the sidebar. This is the generic link that does content negotiation to direct you to the right export format depending on what your program requests. Clicking the link in a browser just leads people to the same page again. This is not understandable and intuitive for many people. We need a better way to make these different export formats available to people looking at our entity pages.

Screenshots/mockups:
Suggested position where we could put something:

image.png (533×1 px, 107 KB)

BDD
GIVEN an entity page
WHEN viewing the page
THEN I can see an indicator/selector for the various formats I can access the entity's data in
AND they are linked to the entity URLs in the respective format

Acceptance criteria:

  • entity pages have an indicator/selector for the various formats that are available

Notes:

Event Timeline

Lydia_Pintscher raised the priority of this task from to Medium.
Lydia_Pintscher updated the task description. (Show Details)
Lydia_Pintscher subscribed.

Instead of stuffing the sidebar that already has to many issues (no room for long link labels, print section is currently gone, it's always to many links, less is more anyway), I vote for utilizing the "Information for Q…" subpages for what is asked for in this ticket, e.g. https://www.wikidata.org/w/index.php?title=Q4115189&action=info.

These action=info pages can very easily be expanded with all kinds of information – even new sections. A list with links to all the export formats that do not do content negotiation would be very welcome – plus repeating the "Concept URI" link from the sidebar for the full picture. Even help pages can be linked.

See the InfoActionHookHandler which already does something similar for client pages. The same can be done for repo pages.

@Lydia_Pintscher @Ivanhercaz @thiemowmde Hey if the issue is not resolved, I would like to work on this. I am new to open source and mediawiki. Can you guide me?

karapayneWMDE added a subscriber: HasanAkgun_WMDE.
karapayneWMDE subscribed.

@Lydia_Pintscher , I brought this into our sprint, but after reviewing the details I believe this tasks needs to be revisited before work can be done. So I've removed it from the sprint and removed the two tags.

By the way, I have a user script which adds links to other formats: https://www.wikidata.org/wiki/User:Nikki/InOtherFormats.js

It adds a section to the sidebar like this:

inotherformats.png (554×295 px, 13 KB)