<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikimd.org/index.php?action=history&amp;feed=atom&amp;title=Help%3ACategory</id>
	<title>Help:Category - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikimd.org/index.php?action=history&amp;feed=atom&amp;title=Help%3ACategory"/>
	<link rel="alternate" type="text/html" href="https://wikimd.org/index.php?title=Help:Category&amp;action=history"/>
	<updated>2026-04-25T10:36:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wikimd.org/index.php?title=Help:Category&amp;diff=5622068&amp;oldid=prev</id>
		<title>Prab: CSV import</title>
		<link rel="alternate" type="text/html" href="https://wikimd.org/index.php?title=Help:Category&amp;diff=5622068&amp;oldid=prev"/>
		<updated>2024-04-18T00:11:55Z</updated>

		<summary type="html">&lt;p&gt;CSV import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Chicken_Eyeglasses_categories.png|Chicken Eyeglasses categories|thumb]] &amp;#039;&amp;#039;&amp;#039;Help:Category&amp;#039;&amp;#039;&amp;#039; is a fundamental feature within the [[MediaWiki]] software, which powers many wikis, including the renowned [[Wikipedia]]. Categories in MediaWiki are a system for organizing and indexing pages. They serve as a method to group content that shares a common characteristic, making it easier for users to navigate and find related information. This article aims to provide an in-depth understanding of how categories work in MediaWiki and how to effectively use them.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
A category in MediaWiki is a special kind of page that is used to group other pages and files based on similarity or relevance. Each category can contain subcategories, allowing for a hierarchical organization of content. Categories help in structuring a wiki&amp;#039;s content systematically, making it accessible and manageable.&lt;br /&gt;
&lt;br /&gt;
==Creating a Category==&lt;br /&gt;
To create a category, one simply needs to create a new page in the Category namespace by prefixing the page title with &amp;quot;Category:&amp;quot;. For example, to create a category named &amp;quot;Physics&amp;quot;, one would create a page titled &amp;quot;Category:Physics&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The syntax to add a page to a category is straightforward. By adding &amp;lt;nowiki&amp;gt;[[Category:Name]]&amp;lt;/nowiki&amp;gt; to a page&amp;#039;s content, the page is automatically included in the &amp;quot;Name&amp;quot; category. Pages can be included in multiple categories.&lt;br /&gt;
&lt;br /&gt;
==Managing Categories==&lt;br /&gt;
===Adding a Page to a Category===&lt;br /&gt;
To add a page or file to a category, edit the page and insert &amp;lt;nowiki&amp;gt;[[Category:Category name]]&amp;lt;/nowiki&amp;gt; at the bottom of the page. This will automatically link the page to the category.&lt;br /&gt;
&lt;br /&gt;
===Creating Subcategories===&lt;br /&gt;
Subcategories are created in the same way as categories. The difference lies in adding the subcategory page to a parent category. This is done by including the subcategory page in a higher-level category.&lt;br /&gt;
&lt;br /&gt;
===Sorting Pages in Categories===&lt;br /&gt;
By default, pages in a category are sorted alphabetically by their page title. However, a custom sort key can be specified by adding a pipe &amp;quot;|&amp;quot; followed by the sort key. For example, &amp;lt;nowiki&amp;gt;[[Category:Name|Sort key]]&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Best Practices==&lt;br /&gt;
* Use clear and descriptive names for categories.&lt;br /&gt;
* Avoid over-categorization. A page should not be in both a category and its subcategory.&lt;br /&gt;
* Keep the category structure simple and intuitive to facilitate easy navigation.&lt;br /&gt;
&lt;br /&gt;
==Special Pages Related to Categories==&lt;br /&gt;
MediaWiki includes several special pages that help in managing and navigating categories:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Special:Categories&amp;#039;&amp;#039;&amp;#039; - Lists all categories on the wiki.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Special:CategoryTree&amp;#039;&amp;#039;&amp;#039; - Provides an interactive tree structure of the category hierarchy.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Special:UnusedCategories&amp;#039;&amp;#039;&amp;#039; - Shows categories that have no pages.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Special:WantedCategories&amp;#039;&amp;#039;&amp;#039; - Lists categories that are linked to but do not exist.&lt;br /&gt;
&lt;br /&gt;
==Conclusion==&lt;br /&gt;
Categories are a powerful tool for organizing content on a wiki. By understanding how to create, manage, and effectively use categories, contributors can enhance the navigability and structure of the wiki&amp;#039;s content.&lt;br /&gt;
&lt;br /&gt;
[[Category:MediaWiki]]&lt;br /&gt;
[[Category:Wiki Editing]]&lt;br /&gt;
{{stb}}&lt;/div&gt;</summary>
		<author><name>Prab</name></author>
	</entry>
</feed>