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

Wiki pages which redirect should be ignored by taginfo #3347

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Open

Wiki pages which redirect should be ignored by taginfo #3347

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: TomH
[Submitted to the original trac issue database at 6.02pm, Wednesday, 24th November 2010]

If you look at a page like this:

http://taginfo.openstreetmap.de/keys/highway#wiki

then you will see some apparent duplications (pt-br and sq for example) because there are pages in the wiki with different capitalisation that redirect.

I think the redirect pages should be ignored - you can recognise them from the content which is just "#REDIRECT [[page]]".

@openstreetmap-trac
Copy link
Author

Author: jochen[at]topf.org
[Added to the original trac issue at 3.17pm, Thursday, 25th November 2010]

There is something weird with the language codes. Some languages (like DE) are proper mediawiki namespaces. For them no redirects are needed. All different forms of capitalizing the letters work, they are all redirected to the all-uppercase form. Some languages are not, so people have been adding all those redirect pages. If the wiki software can do this by itself, the redirects should not be necessary.

Concerning othe redirects that are not related to the language code: Because there is no general rule how tags need to be written, Taginfo can't really know what a redirect means. A redirect could either mean: This is a valid tag, but the description is somewhere else. Or it can mean: This tag doesn't exist but because many people search for it under this name, we have put a redirect in here. I think the only way to solve this, is to not have redirects in those cases.

Taginfo currently does recognize redirects, you can see that in
this report:
http://taginfo.openstreetmap.de/reports/language_comparison_table_for_keys_in_the_wiki
But I agree that it could be shown better in the view mentioned above.

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