Help:Tags
Povo uses tags to help organize information. A "tag" is just a word or phrase that describes an important aspect of a section. Tags appear in a comma-separated list underneath a section; you can click the change tags button to add or remove tags. There's no predefined list of tags, so feel free to make up your own. However, some tags are better than others. A tag which would only ever apply to a single section isn't particularly useful for searching; for example, the name of a business is not a good tag. Similarly, given that Povo is a geographic wiki, you don't need to tag sections with their location; Povo already knows where it is.
Every tag in Povo has its own page in the Tag namespace. So, for example, the tag "restaurants" has a page called "Tag:Restaurants". This is a normal wiki page, and can be used to explain what a tag is for, e.g. the tag
Tag:family friendly might describe what it means for a business to cater to families.
Sometimes two tags are just different ways of expressing the same idea, either because they are exact synonyms or just a mispelling or plural form of each other. You can use the regular redirect syntax to associate one with the other, and Povo will treat the two tags as if they were identical.
You can also use the tag page to provide suggestions for tags that are ambiguous. Some tags are not sufficiently specific on their own; for example, the tag "nails" might be useful for a beauty salon and a hardware store. By creating some suggestions, you can guide a searcher to a more specific tag.
You create a suggestion by surrounding some wikitext with the suggestion tag, like so:
<suggestion>Are you looking for things tagged "hardware store"?</suggestion>
That's not a particularly good suggestion, though, since anyone who read it would have to change their tags manually. Instead, you can use the Add Tag, Remove Tag and Swap Tag templates to give searchers links that will do this automatically. Thus, this suggestion:
<suggestion>Are you looking for a {{Swap Tag|nails|hardware store}}?</suggestion>
will create a link that removes "nails" from the search and adds "hardware store" in its place.
Using Lingua to filter suggestions
Of course, one problem with this is that the new search link might be to a search that doesn't work, or might be for a tag the searcher has already picked. You can prevent this using Lingua. There are two special collections available on tag pages: Tags and AvailableTags. The Tags collection contains all the tags that are currently in the search, and AvailableTags contains all the tags that are available to filter by. For example:
<% if AvailableTags contains "hardware store" %>
<suggestion>Are you looking for a {{Swap Tag|nails|hardware store}}?</suggestion>
<% end %>
will only display a suggestion if "hardware store" is one of the available tags.
Switching the location of a search
Some tags are better used as location to search from. For example, someone searching for "chinatown restaurant" would probably be better off with a search in Chinatown for the tag "restaurant". You provide a link for this with the Change Radius template:
<suggestion>Would you like to limit your search to the {{Change Radius|Boston.MA:Chinatown|Chinatown neighborhood}}?</suggestion>
The first parameter to the template is the title of either a region home page or a neighborhood page. The second parameter is the text you would like displayed in the link.
Thank you for your contribution. You've taken a huge step to making Povo the "word on the street,"
and we appreciate it very much. Because of the complexity of the "wiki text" and code that can be used
on Povo, in order to edit this section in the future you must click the "edit" button to the right of the section
heading (or for the whole page).