Help:Category

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]]

Please try to 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:

  • Examine the Table of contents.
  • A full list of categories: Special:Categories
  • A list of uncategorized categories: Special:Uncategorizedcategories
  • A list of uncategorized articles: Special:Uncategorizedpages
  • A list of empty categories: Special:Unusedcategories
gollark: ```GoalsThese goals may change or be refined over time as I experiment with what is possible with the language. Embeddable - Similiar to Lua - it is meant to be included in another program which may use the virtual machine to extend its own functionality. Statically typed - The language uses a Hindley-Milner based type system with some extensions, allowing simple and general type inference. Tiny - By being tiny, the language is easy to learn and has a small implementation footprint. Strict - Strict languages are usually easier to reason about, especially considering that it is what most people are accustomed to. For cases where laziness is desired, an explict type is provided. Modular - The library is split into parser, typechecker, and virtual machine + compiler. Each of these components can be use independently of each other, allowing applications to pick and choose exactly what they need.```
gollark: That's rude.
gollark: ```elmlet factorial n : Int -> Int = if n < 2 then 1 else n * factorial (n - 1)factorial 10```A factorial example from the docs.
gollark: Well, yes, it has an interpreter and stuff.
gollark: Actually, possibly not, no idea what you mean.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.