[openstreetmap/openstreetmap-website] Prevent changing number to URL way object using "w [number]" (Issue #7125)

Paweł Raszuk notifications at github.com
Wed Jun 3 15:48:33 UTC 2026


praszuk created an issue (openstreetmap/openstreetmap-website#7125)

### URL

https://www.openstreetmap.org/changeset/183589124#c1603043

### How to reproduce the issue?

Bug introduced in: https://github.com/openstreetmap/openstreetmap-website/pull/6518
It seems there is a pattern `"w ?(?<id>\\d{5,})"` which is in conflict with Polish language.

Example: https://www.openstreetmap.org/changeset/183589124#c1603043
"Wycofane w \<changeset id\>" which translates to "Reverted in \<changeset id\>" shouldn't be changed to "Wycofane [way/183600437](https://www.openstreetmap.org/way/183600437)."

### Screenshot(s) or anything else?

_No response_

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7125
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/7125 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260603/df2c7c58/attachment.htm>


More information about the rails-dev mailing list