Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[PATCH] Add links to wiki Key:* and Tag:* pages from /browse/* pages #2289

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 12.30pm, Wednesday, 16th September 2009]

This patch adds links back to the wiki for /browse/* pages if there are pages describing the tag in question. See [http://u.nix.is/~avar/6.html here] for an example in German (DE: keys are linked to if they exist).

The list of wiki pages that describe keys/tags are retrieved with a Perl script which generates a YAML file which the rails_port reads. This script can be run periodically to get a list of new pages that have been added to the wiki.

The code I've added to app/views/browse/_tag.html.erb works but could probably use cleanup/placing somewhere else because I don't know Ruby or RoR really.

@openstreetmap-trac
Copy link
Author

Author: StefanB
[Added to the original trac issue at 2.46pm, Wednesday, 16th September 2009]

Seems to be exact duplicate of #2245.
See #2245 for TomH's performance considerations.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 2.50pm, Wednesday, 16th September 2009]

Duplicate of case #2245.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant