[openstreetmap/openstreetmap-website] update-wiki-pages: process ChangesetKey template (PR #5818)
Kyℓe Hensel
notifications at github.com
Tue Mar 18 09:31:24 UTC 2025
<!--
Please read the contributing guidelines before making a PR:
https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md
Pay particular attention to the section on how to present PRs:
https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md#pull-requests
-->
### Description
This perl script was last run in #5668, which caused the links for some keys like [`host=*`](https://osm.wiki/Key:host) to disappear, because these pages were migrated from [`Template:KeyDescription`](https://osm.wiki/Template:KeyDescription) to [`Template:ChangesetKeyDescription`](https://osm.wiki/Template:ChangesetKeyDescription)[^1][^2].
This PR updates the script to support [`Template:ChangesetKeyDescription`](https://osm.wiki/Template:ChangesetKeyDescription), which is used by pages under the `Key:` namespace, and/or the `ChangesetKey:` namespace.
### How has this been tested?
Ran the perl script and commited the relevant changes.
[^1]: [`Key:changesets_count` diff#2685844](https://osm.wiki/w/index.php?title=Key:changesets_count&diff=2685844&oldid=2685832)
[^2]: [`Key:host` diff#2612462](https://osm.wiki/w/index.php?title=Key:host&diff=2612462&oldid=2612460)
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5818
-- Commit Summary --
* update-wiki-pages: process ChangesetKey template
-- File Changes --
M config/wiki_pages.yml (3)
M script/misc/update-wiki-pages (14)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5818.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5818.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5818
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5818 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250318/e67c5f63/attachment.htm>
More information about the rails-dev
mailing list