Page MenuHomePhabricator

Make link to entity/concept URI visible in left side menu for all Commons files
Closed, ResolvedPublic

Description

At this moment, some files on Wikimedia Commons have a link to their concept URI (e.g. http://commons.wikimedia.org/entity/M91260656) in the left side menu, but not all files have this.

image.png (42×108 px, 2 KB)

It's my impression that this link is present for recently uploaded files (probably after a specific StructuredDataOnCommons deployment), but not for older files.

I'm currently working on a project with WMNL that analyzes GLAM contributions to Wikimedia projects in comparison to Dutch national strategic architecture and recommendations re: digital heritage, and one of the recommendations will include the importance of being able to link to (also older) Wikimedia Commons files as Linked Open Data. So also for older uploads it will be important that GLAMs will be able to discover, and point to, the persistent Linked Open Data identifiers of files that they have uploaded to Commons.

Hence this feature request: to make these URIs visible for all Commons files.

(This would probably also include making these concept URIs discoverable via API; but as I'm not an active API user I'm not sure about the status of this, and whether this needs a separate ticket.)

Event Timeline

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

It also might be worth making the M-ID number prominently visible on the structured data tab of the filepage, given that this is where the information related to that ID is shown.

@Spinster it seems like the concept URI links are there for all files with structured data and are missing for files without structured data. Is there a use case for needing M-IDs for files without structured data?

@Jheald FYI the page ID is the same as the M-ID. Just add an M in front of it. That should help in the short term.

@Spinster it seems like the concept URI links are there for all files with structured data and are missing for files without structured data. Is there a use case for needing M-IDs for files without structured data?

I have been asked the question by GLAM staff active in the Dutch Digital Strategy network, as part of an investigation we are doing re: to what extent Wikimedia projects are in alignment with this national strategy, which is heavily Linked Open Data focused (see this post in This Month in GLAM for context). The question was posed in the context of 'older' (i.e. pre-SDC) uploads done by Dutch GLAMs and whether these can be approached as Linked Open Data as well.

Use cases include:

  • GLAMs want to be able to link to 'their' files on Commons in a uniform, LOD-compliant way, from the corresponding files in their collection management systems. Easy (and uniform) retrieval of M-IDs from Commons, also from files that don't have SDC yet, makes it possible for GLAMs to point back from their own collection management systems (stating, in Linked Open Data, that an asset in their collection corresponds to one on Commons).
  • GLAMs want to add structured data to their 'older' Commons uploads in a straightforward way. Easy (and uniform) retrieval of M-IDs from Commons makes it easier for any external tool to be able to do batch SDC edits, also to files that don't have structured data yet.

Change 617697 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Always add concept URI to the sidebar

https://gerrit.wikimedia.org/r/617697

Change 617697 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Always add concept URI to the sidebar

https://gerrit.wikimedia.org/r/617697

Ramsey-WMF subscribed.

The Concept URI link (which includes the page's M ID) now appears in the left nav for all files even if they don't have structured data.