Wikidata:Property proposal/Wikimedia Phabricator project

Wikimedia Phabricator project PHID edit

Originally proposed at Wikidata:Property proposal/Generic

   On hold
DescriptionPHID of the Wikimedia Phabricator project for the subject
Data typeExternal identifier
Example 1Wikibase Repository (Q21679301)vumw5jyyw4r3fv52k34y
Example 2Extension:Wikibase Client (Q21679293)46yqqwzqvnxmbabmz3tc
Example 3Pywikibot (Q15169668)orw42whe2lepxc7gghdq
Formatter URLhttps://phabricator.wikimedia.org/maniphest/?project=PHID-PROJ-$1&statuses=open()&order=newest#R
See alsoissue tracker URL (P1401), Wikimedia Incubator URL (P9748)

Motivation edit

Most MediaWiki software uses https://phabricator.wikimedia.org/ as its issue tracker. Currently the issue trackers are linked via issue tracker URL (P1401), which is however a bit messy since there are many different ways to link to a project on Phabricator:

While project slugs are the most human-friendly of these, project slugs can change and one project can have multiple slugs, making them suboptimal for a Wikidata identifier property. So the choice remains between the numeric ids and the PHIDs. I think PHIDs are the clear winner because the Phabricator API to search tasks maniphest.query only accepts PHIDs for projects and we don't want to force data consumers to do a project.query lookup to translate the id to the PHID every time they want to query the tasks of a project.

How to find the PHID? If you are at a project page, click on Open Tasks and then you can find the PHID in the URL.

A bot could be written to import these identifiers from https://www.mediawiki.org/, because it has the project slugs in various templates:

Cheers, --Push-f (talk) 16:09, 21 November 2022 (UTC)[reply]

Discussion edit