[openstreetmap-website] Update browse_helper.rb (#814)

pyrog notifications at github.com
Wed Oct 15 16:27:46 UTC 2014


> I decided against a catch-all to discourage misspelled keys. If other prefixes will get popular, one could add them easily in the future.
Ok, i didn't find your message before :wink: 

>So tags with the following keys are the only ones that get linked:
>
>* architect:wikidata
>* artist:wikidata
>* brand:wikidata
>* operator:wikidata
>* subject:wikidata

Not yet implemented, so i propose this expression : 
```
if key =~ /^(?:(architect|artist|brand|name|operator|subject):)?wikipedia$/
```


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/814#issuecomment-59234018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20141015/2fda4883/attachment.html>


More information about the rails-dev mailing list