Sophox / sophox

A collection of services exposing OSM data, metadata, and other microservices
Apache License 2.0
31 stars 5 forks source link

Metabot should set permanent key prefix/suffix IDs #32

Open 1ec5 opened 1 year ago

1ec5 commented 1 year ago

The wiki’s “Key:” pseudonamespace contains some articles about key prefixes and suffixes (aka namespaces and subkeys). Recently, these articles have been formalized by including a wildcard character in the title and introducing the {{KeyPrefixDescription}} and {{KeySuffixDescription}} templates. By request, I’ve also created permanent key prefix ID (P52) and permanent key suffix ID (P53) with the intention that prefix/suffix items should use these properties instead of permanent key ID (P16).

The metabot code needs to be updated to set the new properties:

https://github.com/Sophox/sophox/blob/e77056d794ecf7ecd8957f947b2395e0fb2a45be/metabot/metabot/Properties.py#L197-L200