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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to