tribelobi.blogg.se

Mediawiki subcategories
Mediawiki subcategories












  1. Mediawiki subcategories how to#
  2. Mediawiki subcategories code#

If the category doesn't exist, on the page with the search results there will be a link for creating the category. For example, if you want the category to be named Example Category, search for Category:Example Category. When you type the name of the category put the Category: namespace in front of it. Another way is to use the search function on the site to search for the name of the category.This will open the form for creating the category. Then use the link that's automatically added on the page. One way to do this is first to add a page to the category as explained in the previous section.What you need to do to create a category is to create a page for that category, and this is done in the same way as creating a regular article page.

Mediawiki subcategories code#

In case you want to add a link to a category in the content of the page or without assigning the page to the category use the same code but put a colon after the first two brackets: e.g.

Mediawiki subcategories how to#

Check the next section to learn how to do this. If the category to which you added the page doesn't exist, you should also create a page for that category. A link to the page will also be added on the page of the category itself. It's usually at the bottom of the page, but this depends on the particular skin/theme. There's an area on the page that's intended for such links to the categories to which the page belongs. This will automatically put a link on the page to that category. Replace Category name with the name of the category, whether an existing one or one that hasn't been created yet. To do this, edit the page and add the following under the main content of the page: This is also a way to start with the creation of the category, if that category doesn't exist. Add Pages to CategoriesĪdding a page to a category is quite simple. To view the categories that haven't been created but to which there are links on pages go to Tools menu> Special pages button> Maintenance reports section> Wanted categories button. These are categories which have their own category pages created for them but that have no items assigned to them. To see a list of the empty categories go to Tools menu> Special pages button> Maintenance reports section> Unused categories button. The list includes the existing categories and categories that haven't been created but that have links to them on other pages. pages, media, subcategories) go to Tools menu on the left> Special pages button> List of pages section> Categories button. In addition to using the search function on the site to search for categories, there are also a few special pages that list the categories on your site, both the existing categories and the ones that haven't been created but to which there are links from pages.įor a list of the categories that have items assigned to them (e.g. For screenshots and some more details you can also read the tutorial on how to create and manage categories in MediaWiki. In this article we'll briefly go over how to add pages to categories and create categories. You can put a page in more than one category. That category page lists all the pages belonging to it. When you add a page to a category this automatically places a link on the page to the category, and it also puts a link to the page on the category page. You can create a hierarchical structure of categories and subcategories and assign pages to them. Knowledgebase How to manage categories in MediaWikiĬategories in MediaWiki are used to group pages and media files on related subjects.














Mediawiki subcategories