No categories assigned

Categories

Revision as of 08:13, 20 November 2019 by Mlink-rodrigue (talk | contribs) (Redirected page to Category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Redirect page

Redirect to:

What are categories?

Pages can be tagged with keywords, so-called categories. On the one hand, this makes it easier to find the page in the wiki, and on the other hand, pages of the same category can be bundled on an automatically created Categories page.
Categories can be created manually (for example, topics in the wiki or department names of your company). In addition, MediaWiki also assigns auto-generated categories in special cases (for example, pages with broken links).

__ TOC __

Create and assign categories

To create a category or assign a page to a category, there are several possibilities:

Classic

Open an article in edit mode that you want to assign to a category. At any point in the wiki code Btn-WYSIWYG-Wikitext.png(usually at the end of an article), enter the following:

Note that

  • Categories can be generated in any number and by any user. So before you start, it's best to always check which categories already exist to avoid unnecessary duplication.
  • for each category that has not been assigned before, the wiki will create its own category page, which should be filled with content (s.u.).
  • a page can of course be assigned to several categories.
  • The place in the source code where the mapping is built in is technically irrelevant. However, it is convention to insert categories at the end of an article.
  • in the syntax of a category no spaces are allowed. These are marked with an underscore (for example, ). Depending on the wiki, it can be irrelevant whether you use the German name "Kategorie:..." or the English "Category:...".

After saving the article, you can display all assigned categories in the header of the page.


Using InsertCategory

You can also assign or create categories using the BlueSpice-internal function InsertCategory.
In the editor mode, click on the mini tool 2.png

, or alternatively select Insert Category from the menu, which you can open at the top right of the page.

More information about InsertCategory can be found here.


Display of all existing category pages

link.png

On the special page Special:Categories you can display a list of all existing categories in the wiki. Click on a category to go to the corresponding category page. If a page in the listing is highlighted in red, the category has so far only been linked, but the associated category page has not yet been edited.

Display of all pages of a category

On the Category:desired_category_name page, you will find a list of all the pages and media associated with a particular category.

If you have accessed a previously unavailable - red linked - category page, you have the option of specifying a short (or longer) description in the edit mode, which falls under this category, so that authors and readers know how to use this category.

Please note: when sorting on category pages, umlauts are generally sorted all the way to the back (for example, "girl" after "Muh"). You can therefore use the variable {{ DEFAULTSORT:sortkey }}</span> to specify an alternative title to be used for sorting (eg {{ DEFAULTSORT:girls }}</span>).

More about Variables can be found in the article MagicWords.


Special case: Multi-level category system

It is also possible to create a multi-level, nested category system. To do this, you only have to assign your own top categories to the already existing category pages via the ways explained above.

A well-arranged way to display the various top and subcategories of your wiki is provided by the so-called Category Tree. More about how it works here.


Link to category pages

Links to a category require a colon before the namespace.
Example: [[:category:new_page]]
If this colon is missing, the article will not be linked to the category page, but the article will be assigned to the corresponding category!

Case Study

Issues with JavaScript

Attachments

Discussions