Help:Categories/sco

Categeries, ae saffware featur o MediaWiki, provide autæmateec indexes that's uissfu aes buirds o contents.

Ye can categerise pages n files bi eikin yin or mair Categery tags til the content tex. Thir tags cræft airtins at the bottom o the page that tak ye til the leet o aw pages in that categerie, this maks it easie tae brouse sib airticles.

Ootline
Ilka page in the Category(Catergerie) namespace represents ae sae-cried categerie, ae groopin o sib pages, n contains aen index fer the pages o its categerie. Fer example, this page belangs til "Category:Help". Gif ye apen the "Category:Help" page, ye'll see aen airtin til this page thaur.

Whan ae page belangs til yin or mair categeries, thir categeries kith at the bottom o the page (or in the upper-richt corner, dependin oan the skin bein uised).

The categerie pages thairsels contain 2 pairts:


 * at thair beginnin, aen optional pairt micht haud tex that can be eeditit, like onie ither page,
 * at thair end, aen ever presant, autæmateeclie generated, alphabeteecal leet o aw pages in that categerie, in the form o airtins. (In fact, in ASCII order. See the Help:Byordinair page).

Tae assign ae categerie til ae page, simplie eik the airtin " Category:Categerie name" til the page's wikitex. The uissual steid tae eik it is at the bottom o the page.

Tae airt ae categerie page wiin ae page aes ae normal wiki airtin (wioot eikin the page til the categerie), prefix the link name with ae colon. Fer example: :Category:Not in this category

New categeries can be cræftit afore assignin onie page til it, in the same waa aes onie ither raigulair page.

Indiveedual wikis micht hae thair ain tap-level categeries, like Category:Contents in Wikipædia.

Fer ae compleate leet o aw categeries that hae at least the ae page, see Special:Categeries.

Fer ae compleate leet o aw cræftit/eeditit categeries, incluidin the yins that dinna hae onie pages, see Special:Allpages/Category: (mynd the colon at the end).

Eikin ae page til ae categerie
Tae eik ae page or uplaidit file til ae categerie, simplie eedit the page n eik the follaein tex (whaur Name is the name o the categerie that ye want tae eik it til).



Onie nummer o     tags can be eikit til the page n the page will be leetit in aw o thaim. tags, alang wi interwiki leid airtins steidit in the sidebaur, ar uissuallie eikit at the ver bottom o the page fer the conveeeneeance o ither eediters.

Oan ae categerised page, categeries ar displeyed in the Categories: kist strictlie in the order that thay kith in the wikitex.

Gif $wgUseCategoryBrowser is set til true, unner the first leet ilka categerie is leetit again, breadcrumb-style, wi aw its pairant categeries, sorted alphabeteeclie. (At least in MediaWiki 1.18.2) gif ae categerie is ae subcategerie o mair than the ae pairant, than baith hierarchies will be leetit, bit the tagged categerie will be stript aff af aw bit yin o thir. This cræfts the potential fer whit seem tae be dupleecate entries gif ae category wi monie pairants n yin o its pairants ar baith tagged oan ae page. Fer example suppose that Maryanne is ae subcategerie o baith Mary n Anne. Gif ae page tags categeries Maryanne n Anne than the Categerie breadcrumbs will shaw

Anne Anne Mary -> Maryanne

"Anne" seems tae be dupleecatie, bit what is meant is

Anne Anne -> Maryanne Mary -> Maryanne

This is proabablie ae bug, n haes been reporti in Bug 33614.

Sort key
Bi defaut, ae page is sortit wiin ae categerie unner the first letter o its name — wioot the namespace. Foreby, MediaWiki groops accented characters separatelie fae thair onaccented version, sae that pages stairtin wi À, Á, Ä, wi be leetit unner separate heidins, in steid o unner heidin A. (Giff ye hae shell access, thir defauts can be chynged uisin $wgCategoryCollation.)

Ae sort key speceefies unner whit letter heidin, n whaur in the categerie leet, the page will kith. Ye can add ae sort key bi placin it inside the tag efter ae pipe chairacter. Fer example, the tag ablo will eik the page unner the heidin "S".

Sort

Sort keys ar case-sensiteeve, n spaces n ither chairacters ar valid ava. The order o the sections wiin ae categerie follaes the Unicode sort order. The sort key disna chynge the page title displeyed in the categerie.

See Help:Sortin fer mair information oan categerie sortin.

Cræftin ae categerie page
Categeries exeest even gif thair page haes na been cræftit, bit thir categeries ar isolatit fae ithers n dinna serve muckle purpose fer organisation or naveegation.

Ae categerie is cræftit bi cræftin ae page in the Category: namespace. Ae categerie page can be cræftit the same waa aes ither wiki pages (see Help:Starting a new page); jist eik " " afore the page title.

Tae avoid extra wairk, ettle rakin wiin yer wiki afore cræftin ae new categerie. The leet o aw categeries can be foond in "" in the "" kist o the sidebaur.

Onlike ither wiki pages, it is na posseeble tae rename (muiv) ae categerie. It is necessary tae cræft ae new categerie n chynge the     tag oan ilka page. The new categerie will na hae the aolder categerie's page histerie, this is ondesirable gif thaur's monie luikowers.

Managin the categerie hierarchie
Categeries micht belang til ither categeries in ae hierarchie. Sin categerie pages ar ae lot like onie ither page, ae     tag can be eikit til the bottom o ae categerie page.

It is a good idea to organize all categories into a hierarchy with a single top level category. The category structure can take the form of a tree with separate branches, but more often will have a graph structure. Generally, there should be a contiguous chain of parent-child links between each category and the top level category.

Hidden categories
The categories that a page is in are normally listed at the bottom of the page. In Mediawiki 1.13+, a category can be hidden from this list by adding the magic word " " to the category page. Hidden categories are not hidden from category pages.

Users can choose to see hidden categories in a separate "" list, by checking "" in the "" section of Special:Preferences.

Hidden categories are automatically added to Category:. This category is specified in the system message MediaWiki:Hidden-category-category.

See also: hidden categories

Linking to a category
To create a link to a category, use a leading colon before the category name (without this colon, the current page would be added to the category):


 * &rarr;    :Help

To change the link text, write the text inside the link tag after a pipe:


 * &rarr; Help category

Redirect pages that redirect to categories must also use the colon, otherwise they will be added to the category instead of redirecting.

Redirecting a category
Like normal wiki pages, category pages can be redirected to other normal or category pages. However, this is not recommended, as pages categorized in redirected categories do not get categorized in the target category (bugzilla:3311). Some Wikimedia sites use a "category redirect" template to mark redirected categories, allowing manual or automated cleanup of pages categorized there.

Tracking categories
Certain syntax issues, such as a broken image link, or too many expensive parser functions, can cause a page to be added to a tracking category. See Help:Tracking categories for details.