Help:Category

From ArchWiki

Every article must be categorized: categories are displayed at the bottom of each article. This HOWTO will explain how to set page category, how to create missing categories pages and how to move a page to a different category. For the related style rules, see Help:Style.

Articles and categories used as examples in this article are not real. If you want to practice moving while reading this HOWTO, find a real page you want to move.

Note: Everything that is discussed in this article applies to categories themselves in quite the same way (i.e. categories can also be categorized).

Set page category

Click Edit at the top of the page. Add the following to the beginning of the text:

[[Category:Some Category]]

Use existing categories when possible: you can find the whole category tree at Table of contents. Only if there is no suitable category for your new article, do save the page with the non-existent category name, but then follow #Create new category page.

Create new category page

After you have saved the page, you will see a "Category: Some Category" link at the bottom of the article. If this category does not exist it will be highlighted in red. Click the red link to go to the newly created category.

Set it to be a sub-category of an existing parent category:

[[Category:Parent Category]]

Finally save the category page.

If you think the new category needs a parent that does not exist yet either, please open a discussion in the new category's talk page instead of creating a whole new tree of categories by yourself.

Move a page into a different category

To move a page into a category, edit the page's [[Category:Some category]] line.

For example, let us move a fictional page "ArchWiki Tutorial (Magyar)" to an appropriate fictional category. (Moving to existing categories is basically the same as moving to non-existing categories.)

Click Edit at the top of the page. Find the following line at the beginning of the text:

[[Category:Help]]

change it to:

[[Category:Help (Magyar)]]

Save the page by clicking the Save changes button just below the edit box.

i18n category name

Category titles follow the same rules described in Help:i18n#Page titles, but note that they cannot take advantage of Help:i18n#Localized redirects simply because MediaWiki does not support them.

Category list

To find out more about ArchWiki categories: