[OSM-talk] Category:TagsSupportedBy

Tobias Knerr osm at tobias-knerr.de
Mon Mar 30 20:34:36 BST 2009


marcus.wolschon at googlemail.com wrote:
>> I'm not sure why you called the category "TagsSupportedBy" when you want
>> to apply it to keys and especially relations, too. Wouldn't a simple
>> "Supported by" or "Features supported by" or something like that fit
>> better?
> 
> I'm not sure what you mean.
> Nodes, Ways and Relations are identified by Tags.

A relation isn't just a set of tags. It requires certain members and
roles (which aren't tags). Thus, a relation isn't, as the category name
would suggest, a "tag supported by X" (it's a relation supported by X),
whereas the relation's type=xyz tag would indeed be a "tag supported by
X". But that's not a very relevant issue.

>> Maybe it would be better to create
>> templates to be used at the bottom of each page? You could get the list
>> of supported features by checking template inclusions, and it would
>> allow you to choose an appropriate style, maybe expand/collapse the box
>> to save screen space and so on.
> 
> Sounds better. However I have no idea how these templates with named
> parameters
> work. I've only used positional parameters {{{1}}} in mediawiki up to now
> and looking at the template-pages for Tag and Key it gets quite confusing.

Well, I'm no MediaWiki expert either, so I'm not sure about the best way
of creating that sort of template.

Something like Babel (http://wiki.openstreetmap.org/wiki/Template:Babel)
templates would probably be easy, but I've got no idea what the
performance effects of something like that would be.

Anyway, I'd definitely like a statement from someone with MediaWiki
experience before creating some widely-used template. Of course,
categories are the simpler solution and could theoretically be exchanged
with something else by a bot if we encounter problems.

Tobias Knerr




More information about the talk mailing list