Item talk:Q501

From OpenStreetMap Wiki
Jump to navigation Jump to search

@Floscher: we shouldn't use regex for enum-like constants. We should have a new Tag item noexit=yes, with the proper description there (in some cases this will be almost identical to the corresponding key). Also, set the key type to enum. --Yurik (talk) 16:46, 21 September 2018 (UTC)

@Yurik: I wanted to express that yes is the only value a tag with this key should have. How do I set the key type to enum? Should the item for the tag have a sitelink to the tag page, which is a redirect to the key? --Floscher (talk) 09:00, 22 September 2018 (UTC)
@Floscher: eventually they will be created automatically, but for now you can manually create a new item so that we can use it as a discussion example. Use special page - "Create a new item" to create it, set instance-of to tag, set tag id to "noexit=yes", set sitelink (usig set sitelink special page) to Tag:noexit=yes (site=wiki), and tag key should be set to noexit (Q501). Also, you will need to update noexit (Q501) itself -- set key type to well-known values (Q8). See bridge:movable (Q104) for an example. --Yurik (talk) 09:35, 22 September 2018 (UTC)
P.S. The sitelink must always be set to the key or tag ID, plus the "Key:" or "Tag:" prefix, and replace '_' with spaces (the last part will happen automatically at some point, but not yet). It doesn't matter if the actual page exists, or doesn't, or is a redirect. --Yurik (talk) 09:37, 22 September 2018 (UTC)

meant to be used on - way

Hi, @Floscher: I saw you removed ERROR: Invalid ID = way. Could you also update the corresponding wiki page? Otherwise there is a mismatch with the Key:noexit. Thx! --Yurik (talk) 08:04, 26 September 2018 (UTC)

@Yurik: See Item talk:Q4666 for a discussion on that. Feel free to add ERROR: Invalid ID=way (Q4). It's just that there are regional differences in usage, I discussed this some years ago with the community and we agreed for Germany to only use it on nodes, the international community wanted to continue using it on ways, too. That's reflected in the English wiki page allowing it on ways, while the German page only allows nodes. Also, for 4 years now the usage numbers on ways are constant, while the usage on nodes grew, so I would say the current way (no pun intended) to tag noexit=yes is to use it on nodes. --Floscher (talk) 08:51, 26 September 2018 (UTC)

@Floscher: thanks for explaining! I have been thinking about these cases, and I think we should solve it with qualifiers. I created limited to language (P26), (DEPRECATED) excluding region qualifier (P27), and German-language documentation (Q6994). I have updated noexit (Q501) -- both ERROR: Invalid ID and ERROR: Invalid ID. Would that work for other cases too? You can use the same qualifier multiple times on the same statement. --Yurik (talk) 20:55, 26 September 2018 (UTC)

I don't want to make a mistake, but I think we have confused the qualifiers in this item: I think it should be ERROR: Invalid ID → way (Q4)(DEPRECATED) excluding region qualifier (P27)German-language documentation (Q6994) and ERROR: Invalid ID → way (Q4)limited to language (P26)German-language documentation (Q6994). Am I wrong? --NonnEmilia (talk) 14:27, 27 September 2018 (UTC)
@NonnEmilia:, oops, sorry, i misread the above. Fixed. --Yurik (talk) 16:26, 27 September 2018 (UTC)