<p></p>
<p><b>@1ec5</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6518#discussion_r2591796110">config/settings.yml</a>:</p>
<pre style='color:#555'>> + path_template: "user/\\k<username>"
+ - patterns: ["(?<key>[^\"?#<>/\\s]+)=\\*?"]
+ path_template: "wiki/Key:\\k<key>"
+ host: "https://wiki.openstreetmap.org"
+ - patterns: ["(?<key>[^\"?#<>/\\s]+)=(?<value>[^\"?#<>\\s]+)"]
+ path_template: "wiki/Tag:\\k<key>=\\k<value>"
+ host: "https://wiki.openstreetmap.org"
+ display_rules:
+ - pattern: "osm\\.org/user/"
+ replacement: "@"
+ - pattern: "osm\\.org/(?<type>node|way|relation|changeset|note)/"
+ replacement: "\\k<type>/"
+ - pattern: "osm\\.wiki/Key:(?<key>[^\"?#<>/\\s]+)"
+ replacement: "\\k<key>=*"
+ - pattern: "osm\\.wiki/Tag:(?<key>[^\"?#<>/\\s]+)(?:=|%3D)(?<value>[^\"?#<>\\s]+)"
+ replacement: "\\k<key>=\\k<value>"
</pre>
<p dir="auto">That reminds me, we’ve only customized the wiki’s 404 page to include the data item–powered infobox and taginfo box when the interface is in English and a few other languages. It needs more translations. Maybe we can follow up separately on the wiki.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6518#discussion_r2591796110">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNMXMY3B45SCWTKRHL4AE5RBAVCNFSM6AAAAACLXBWDSCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTKNBTGU3DQMRUGU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNPK7VQGHEDSZJFNBD4AE5RBA5CNFSM6AAAAACLXBWDSCWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTWTG2HXK.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6518/review/3543568245</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6518#discussion_r2591796110",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6518#discussion_r2591796110",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>