[openstreetmap/openstreetmap-website] Show mailto: links for an email or emails separated by ; (#2542)
mmd
notifications at github.com
Wed Feb 19 18:57:18 UTC 2020
I ran the following Overpass query on an April 2019 planet:
```
[out:csv(::count, ::"count:nodes", ::"count:ways", ::"count:relations")];
nwr["email"];out count;
nwr["email"~"@"];out count;
nwr["email"~";"];out count;
nwr["contact:email"];out count;
nwr["contact:email"~"@"];out count;
nwr["contact:email"~";"];out count;
```
Test case | @count | @count:nodes | @count:ways | @count:relations |
|----|--------|--------------|-------------|------------------|
| All email | 321586 | 223544 | 93158 | 4884 |
| @ in email | 320877 | 223116 | 92896 | 4865 |
| ; in email | 939 | 754 | 167 | 18 |
Test case | @count | @count:nodes | @count:ways | @count:relations |
|----|--------|--------------|-------------|------------------|
| All contact:email | 106861 | 72930 | 32617 | 1314 |
| @ in contact:email | 106687 | 72805 | 32572 | 1310 |
| ; in contact:email | 414 | 318 | 84 | 12 |
My conclusion would be that semicolons in email addresses are a fairly niche requirement as they don't even affect 0,5% of all objects. I would just ignore those, it's not worth the effort.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2542#issuecomment-588387903
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200219/8aefc274/attachment.htm>
More information about the rails-dev
mailing list