Wikidata:Property proposal/Arch package

Arch package edit

Originally proposed at Wikidata:Property proposal/Natural science

Descriptionname of the official Arch package
Data typeExternal identifier
Allowed valuestext
Example
Source?
Formatter URLhttps://www.archlinux.org/packages/$1
Motivation

For Motivation see the Property proposal for Debian Package Beware! For Arch Linux I could see a minor issue arising with the aforementioned formatter URL as it points to a search result page. For the specific package URL you need to know the correct repository and architecture. So using the example from the proposal above one could also link to https://www.archlinux.org/packages/extra/x86_64/gimp/ instead of https://www.archlinux.org/packages/gimp for the gimp package in the extra repository for the x86_64 architecture. The formatter URL therefore should be https://www.archlinux.org/packages/$2/$3/$1 with

  • $1 representing the package name
  • $2 representing the repository
  • $3 representing the architecture

Ziegenberg (talk) 20:10, 3 January 2017 (UTC)[reply]

Discussion