What Wiki Categories Are
What Wiki Category Is (hereinafter, the Lectio) is the lesson part of Wiki Editing Essentials lesson that introduces its participants to wiki edit concepts. This lesson belongs to the CNMCT Entrance section of the CNM Cyber Placement.
Content
The predecessor lectio is Management of Wikipages.
Script
- At CNM Wiki, a wiki category is a
Categories, a software feature of MediaWiki, provide automatic indexes that are useful as tables of contents.
You can categorize pages and files by adding one or more Category tags to the content text. These tags create links at the bottom of the page that take you to the list of all pages in that category, which makes it easy to browse related articles. Contents
1 Summary 2 Adding a page to a category 2.1 Sort key 3 Creating a category page 4 Managing the category hierarchy 5 Hidden categories 6 Linking to a category 7 Redirecting a category 8 Tracking categories 9 See also
Summary
Each of the pages in the Category namespace represents a so-called category, a grouping of related pages, and contains an index for the pages of its category. For example, this page belongs to "Category:Help". If you open the category page, you will see a link to this page there.
When a page belongs to one or more categories, these categories appear at the bottom of the page (or in the upper-right corner, depending on the skin being used).
The category pages themselves contain 2 parts:
at their beginning, an optional part may contain text that can be edited, like any other page, at their end, an ever present, automatically generated, alphabetical list of all pages in that category, in the form of links. In fact, in the Unicode sort order.
To assign a category to a page, simply add the link "" to the page's wikitext. The usual place to add it is at the bottom of the page.
To link a category page within a page as a normal wiki link (without adding the page to the category), prefix the link name with a colon. For example: Category:Not in this category
A new category can be created before assigning any page to it, in the same way as any other regular page.
Individual wikis may have their own top-level categories, such as Category:Contents in Wikipedia.
For a complete list of all categories which have at least one page, see Special:Categories.
For a complete list of all created/edited categories, including the ones that don't have any pages, see Special:Allpages/Category: (note the colon at the end). Adding a page to a category
To add a page or uploaded file to a category, simply edit the page and add the following text (where Name is the name of the category you want to add it to).
Any number of Category tags may be added to the page and the page will be listed in all of them. Category tags, along with interwiki language links placed in the sidebar, are usually added at the very bottom of the page for the convenience of other editors.
On a categorized page, categories are displayed in the Categories: box strictly in the order they appear in the wikitext.
If $wgUseCategoryBrowser is set to true, under the first list each category is listed again, breadcrumb-style, with all its parent categories, sorted alphabetically. (At least in MediaWiki 1.18.2) if a category is a subcategory of more than one parent, both hierarchies will be listed, but the tagged category will be stripped off all but one of these. This creates the potential for what appear to be duplicate entries if a category with multiple parents and one of its parents are both tagged on a page. For example suppose Maryanne is a subcategory of both Mary and Anne. If a page tags categories Maryanne and Anne then the Category breadcrumbs will show
Anne Anne Mary -> Maryanne
"Anne" appears to be duplicated, but what is meant is
Anne Anne -> Maryanne Mary -> Maryanne
This is a bug, and has been reported in phab:T35614.
Category:Product Epics, Category:Lectio Notes, Category:Lesson Plans, Category:Course Syllabi, Category:Program Curricula, Category:Welcome Session, Category:Career Orientation, Category:CNMC Core Orientation, Category:CNMC Team Entrance, Category:Management, Category:Project Management, Category:Reference Publications, Category:References (to work on)
Key terms
- Wiki category, Category:Product Epics, Category:Lectio Notes, Category:Lesson Plans, Category:Course Syllabi, Category:Program Curricula, Category:Welcome Session, Category:Career Orientation, Category:CNMC Core Orientation, Category:CNMC Team Entrance, Category:Management, Category:Project Management, Category:Reference Publications, Category:References (to work on)
Closing
The successor lectio is Discussions at Wiki.