Why they exist[izměniti kod]
In a wiki with 258 articles, it is sometimes hard to find your way. And the more it grows, the harder it becomes to find an article. The Wikimedia software provides various tools for locating an article: the search function on the left of your screen makes it possible to jump directly to an article (provided that you know its title by heart) by pushing the "Go" button, or to search all articles for a keyword by pushing the "search" button. You can also use the All pages function for an alphabetical list of all articles; and you can use the "what links here" function to obtain a list of all articles that contain a link to the current article (e.g. Special:Whatlinkshere/Slovjanske jezyki lists all articles linking to the Slavic languages). Obviously, all these tools can be helpful indeed, but if you are looking for all articles related to a certain subject, they are far from sufficient. Of course it is possible to create directory pages with only links, but they have the disadvantage that everything needs to be maintained twice and pages like that tend to become obsolete pretty quickly if no one looks after them. Therefore, the software provides another tool as well: categories.
What they are[izměniti kod]
Categories are essentially groupings of interrelated articles, that therefore can be considered as articles belonging to one taxonomic category, for example geographical entities or people. Therefore, it is useful to have separate categories for them: Category:Geografija and Category:Ljudi. If you are looking for a particular country of city, or if you are just surfing, you can simply browse through the category in question in order to find it easily. Ideally, these categories are grouped directly or indirectly in one main category.
Categories can contain articles, but also other categories. These are known as subcategories. If we take the example of Category:Ljudi, we will ultimately end up with a huge amount of biographies listed there. In such situations it can be useful to go further into detail by creating a Category:Naučniki i izumiteli, Category:Filosofi, Category:Politiki i lideri, etc. These subcategories can also have their own subcategories. If for example there is a significant number of articles about Russia, it is useful to create a separate Category:Rosija, which contains all articles pertaining to the country and exists as a subcategory of Category:Državy v Evropě; the latter, in turn, is a subcategory not only of Category:Državy, but also of Category:Evropa.
This way, the categories form one huge tree with many branches and levels, making it very easy to navigate through the vast amount of our articles.
How to find them[izměniti kod]
There are several ways to find the category you are looking for: the most important categories are directly linked to from the Main Page. You can also access them in tree view. For a complete list of all categories, click here. Alternatively, you can also use the "search" function (provided that categories are including in your searches, see you ustavjenija. Of course, you can always access the category a page belongs to by clicking on "Kategorije: xxx, xxx, xxx" at the bottom of each page.
How to use them[izměniti kod]
Adding an article to a category is simple: at the bottom of the article, you place the following text:
substituting "NAME" with the name of the category to which you want to add it. You can add an article to as many categories as you want. After saving, you will see the text "Kategorije: xxx, xxx, xxx" at the bottom of the page. By clicking on one of them, you can see that your article has been added there, and also which other articles belong to that category.
Basically, you can place this text anywhere in the article. It is, however, good practice to place it somewhere where it can be found easily, preferably at the bottom.
Within a category, all articles are listed alphabetically. If you want to place your article elsewhere in the alphabetical order, you can do so very simply by adding a pipe, |, after the syntax above, followed by your preferred place in the alphabetisation. This feature is particularly useful in the case of names: the titles of articles about persons usually begin with their first name, followed by their the surname, but you would probably rather alphabetise the category on surname rather than first name. For example, in the article about Matija Majar-Ziljski, the syntax
will place it in Category:Jezykotvoritelji as if the title of the article were just "Majar-Ziljski".
If you want to refer to a category without actually adding the page you are working on to it (for example, on talk pages), use a ":" before the word "category": [[:Category:NAME]]. That way you create a normal link to a category. The syntax [[:Category:Životne]] shows up in the text as Category:Životne.
How to create them[izměniti kod]
If you have added an article to a category that does not exist yet, you will see a red link appearing in the categories section at the bottom of the page. You can edit a category like any normal article. It's recommendable (but not imperative) that you give a very short description of the category. You can also add them to another category in the same way as in articles. Don't use category space to convey information that would rather belong in an article.
You can also create a category by simply typing http://isv.wikinet.org/wiki/Category:NAME in the address line. Since, however, there is not the slightest need for empty categories, this method has to be strongly advised against.
In general, try to use one of the existing categories (the easiest way to find them is the Categories tree). You can create a new one if you feel there are a significant number of articles that would qualify for inclusion, or at least if you expect there will be in the near future. Categories of only one or two items make things only needlessly complicated!
Categorising redirect pages[izměniti kod]
Redirect pages have no content of their own, and therefore there's rarely a need for categorising them. But in some cases it can be useful. If you want to categorise a redirect page, you can make it work by writing the category on the same line as the redirect; it doesn't work if you put it elsewhere on the page. For example, the redirect page Uzajemni Pravopis Slavjanski contains the following text:
- #REDIRECT [[Matija Majar-Ziljski#Uzajemni Pravopis Slavjanski]] [[Category:Medžuslovjanski]]
If you click on Uzajemni Pravopis Slavjanski now, you'll be redirected automatically to the Matija Majar-Ziljski page, where all there's to know about Uzajemni Pravopis Slavjanski can be found, but in the meantime it is nicely listed within Category:Medžuslovjanski!
Keep in mind that this "trick" may be based on a bug in the software, so that it is unknown of this will still be possible in future versions.
What to avoid[izměniti kod]
- Before creating a new category, please make sure that you are not creating something that exists already under a different name. Keep in mind, category names are case-sensitive. It's better to avoid situations where for example Category:Slovjanske jezyki and Category:Slovienski jezyky exist separately!
- Try also to avoid creating very small categories (i.e. categories that never consist of more than one or two articles only). There is, for example, no use for a Category:Slovenski jezykotvoritelji - the Slovenian language creators in our collection will feel perfectly at home in the Category:Jezykotvoritelji and the Category:Slovenci. Only when their number grows to five or so, the creation of such a subcategory would be worth considering. In that case the new subcategory ought to become a sub of both Category:Jezykotvoritelji and Category:Slovenci.
- Also, don't overcategorise! There are possible categories that simply nobody is waiting for.
- In general, don't add an article to several levels of the same branch of the category tree. For example, Poljska is a state in Europe, and therefore the Category:Državy v Evropě is where it belongs. Since this is already a subcategory of both Category:Državy and Category:Evropa, there is no need to add it to those two as well.