Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Help:Categorization: Difference between revisions

Help page
Djavin novienta (talk | contribs)
No edit summary
Djavin novienta (talk | contribs)
Line 31: Line 31:


==Editing articles==
==Editing articles==
:''See also'': [[meta:MediaWiki User's Guide: Using Categories]].
:''See also: [https://meta.wikimedia.org/wiki/Help:Category MediaWiki User's Guide: Using Categories]''.


===How do I add an article to a category?===
===Adding an article to a category===
Edit the article and add [[Category:''Surname''<nowiki>]]</nowiki> at the bottom of the article.
To add an article to a category, edit the article and add [[Category:''Surname''<nowiki>]]</nowiki> at the bottom of the article.
For example: [[Category:Mind-body interventions<nowiki>]]</nowiki>.
:For example: [[Category:Mind-body interventions<nowiki>]]</nowiki>.


===How do I reference (link to) a category on a page without categorizing the page?===
===Linking to a category without categorizing===
To link to the category page, put a colon before the word "category", inside the link, e.g.<br/> <nowiki>[[:</nowiki>''Category:United States''<nowiki>]]</nowiki>, which will appear as [[:Category:United States]].
To link to the category page, put a colon before the word "category", inside the link, e.g.<br/> <nowiki>[[:</nowiki>''Category:United States''<nowiki>]]</nowiki>, which will appear as [[Wikipedia:Category:United States|Category:United States]].


===Where should the category tag go in the article?===
===Category tag location===
Category tags should be placed at the bottom of the article, after the appendices (e.g. References and External links) and before any inter-wiki language links and stub templates (see [[Wikipedia:Layout]]). This ensures that when newcomers press "edit", they are immediately presented with the main article text, rather than the more esoteric category tags. It also ensures that the category tags are in a consistent place so they are easy to find when an editor is updating the categorization of a bunch of articles.
Category tags should be placed at the bottom of the article, after the appendices (e.g. References and External links) and before any inter-wiki language links and stub templates (see [[UniWiki:Manual of Style/Layout|UMoS:Layout]]). This ensures that when newcomers press "edit", they are immediately presented with the main article text, rather than the more esoteric category tags. It also ensures that the category tags are in a consistent place so they are easy to find when an editor is updating the categorization of a bunch of articles.
 
===In what order should categories be listed within the article?===
Both the alphabet and importance are used to order categories currently. Since some categories are obviously less relevant to the reader than others, categories should be ordered so that someone reading the article can use them to understand the subject, directing the reader to the categories that are most important to exploring the subject or understanding its context. Although this, like most ordering issues in Wikipedia, is a matter for judgment, it is generally clear that some categories – for example the birthplace or birth year of a person – are less important than others, such as their status as an Oscar or Nobel Prize winner. (See also [[Wikipedia:Categorization of people#Categorisation schemes]].)
 
===How do I sort the article differently on the category page?===
This is needed especially for sorting people by surname, leaving out articles ("The" and "A") from the beginning of names, and other cases when preferred sorting key is not identical with article name; Such as grouping people with surnames starting with 'Mac' and 'Mc' together, or to force the most important articles or sub-categories to appear at the beginning of the list.
 
If most or all categories should be sorted in the same way, use a {{template|DEFAULTSORT}} tag, which looks like <nowiki>{{DEFAULTSORT:Smith, John}}</nowiki>. All categories will then sort under "Smith" unless the "pipe-trick" is used for them (see below).
 
For individual cases use the "pipe-trick": Expand the category notation to include the desired sorting key after a pipe sign (syntax is similar to [[Wikipedia:piped link]], but the effect is different). For example, an article categorized by <code><nowiki>[[Category:Proper category|Sorting key]]</nowiki></code> would appear under S within the category. 
 
See more details at [[WP:SORTKEY]].
 
===Which categories can be used for categorization of articles on people?===
Articles about people should be categorized cautiously.  Unlike the body of the article, the various category choices for people can focus on what, in most cases, are common and unrelated attributes such as place of birth and gender, instead of emphasising the reason for their inclusion.
 
See [[Wikipedia:Categorization of people]] for guidelines.
 
===Somebody changed my categorization – what do I do?===
All contributions to Wikipedia may be "edited mercilessly."  If the change was not explained in the article history or [[Wikipedia:talk page|talk page]], try leaving a question on the relevant user's talk page. You may also change it back if you disagree.
 
===What should I do if I see an article without any categories?===
The easiest way to handle it is to add the <code>{{tl|Uncategorized}}</code> template to the article, which will place a notice that the article needs categorizing, and automatically add it to the list at [[:Category:Uncategorized pages]].  Or, try to categorize it yourself.  One useful technique is to try following links in the article to other similar pages, and see how they are categorized, so you know what to copy.


==Maintaining categories==
==Maintaining categories==