[openstreetmap/openstreetmap-website] Adding `delivery:partner:wikidata` as a secondary wiki prefix style (PR #7127)

Kevin Ratzel notifications at github.com
Wed Jun 3 22:34:52 UTC 2026


GA-Kevin-Codes left a comment (openstreetmap/openstreetmap-website#7127)

Great read @hlfan! Seems the low hundreds in usage were what was originally used to fill this list. Concern being if its a catch-all that it would encourage misspellings? Would that not be for the editor to catch, not the website to display?

If  so, we can switch line 126 from
```
elsif key =~ /(#{SECONDARY_WIKI_PREFIXES}):wikidata/o &&
```
 to
```
elsif key.end_with?(":wikidata") &&
```
which would still check for Q-ID formatting and semi-colon lists.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7127#issuecomment-4617272058
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7127/c4617272058 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260603/89a0ba37/attachment.htm>


More information about the rails-dev mailing list