Categories are an important feature on wikis. MoinMoin even simplifies this by letting you choose from a list of available categories while you are editing the page. However, watch that the added category maintains the syntax below.
- To add a page to a category, add a link to the category page on the last line of your page. You can add multiple categories to a page.
Syntax: at the bottom of page, after a new line, add a horizontal bar ---- and CategoryName on separate lines. Multiple categories are listed on the same line separated with spaces. For example,
... (last text line) ---- CategoryFixMe CategoryWorkInProgress
See the CategoryCategory page for a list of existing categories, which can be browsed for member pages.
On the page of the category, you can give a brief description of the category's contents. If you want to get a list of all pages in that particular category, either click the title of the category or insert a suitable macro which lists the pages:
<<FullSearch(category:CategorySamples)>> lists all pages in the category CategorySamples (alternative you can use <<FullSearchCached(@PAGE@)>>) (FullSearchCached caches the search results and therefore displays a category page quicker and also produces less load for the wiki server, for more information please read HelpOnMacros)
<<FullSearch(category:CategoryRecipes -category:CategoryCake)>> lists every recipe if it is not about a cake
See HelpOnSearching for further information about the syntax.
Normally, categories have to be named like CategorySomething. If you want to allow other patterns like CatégorieGaffeur (that is French by the way), then the administrator needs to change the configuration option page_category_regex according to the users' language, see HelpOnConfiguration.
Enter the category Name without "Category"