විකිපීඩියා:ප්රවර්ගකරණය
මෙම පිටුව ඉංග්රීසි ව්යාපෘතියෙන් මෙහි ගෙනවිත් ඇත. අන්තර්ගතය අපගේ ව්යාපෘතිය සමඟ 100% නොගැලපෙනමුත් අපගේ අවශ්යතාවයන් වලට අනුකූලව ගොඩනගා ගැනීම සඳහා මූලික පියවර ලෙස භාවිතා කළ හැකිය. |
මෙම පිටුව සිංහල විකිපීඩියාවෙහි සංස්කරණ මාර්ගෝපදේශන ලේඛනගත කරයි. සාමාන්ය දැනීම අනුව ක්රියාකිරීම නිවැරැදි ක්රමවේදය විය හැකි වුවද, සහ විටින් විට ව්යතිරේකයන් අදාළ වූවද සංස්කාරකවරුන් විසින් මෙය පිළිපැදීමට වෙර දැරීම සාමාන්යයෙන් පිළිගන්නාවූ සම්මතය වෙයි. මෙම පිටුවට ඇතිකරන්නාවූ කිසියම් සත්තාවී සංස්කරණයන් සම්මුතිය ප්රදක්ෂිණා කරන අයුරින් විය යුතුයි. ඔබ කිසියම් දෙගිඩියාවකින් සිටියි නම්, පළමුව සාකච්ඡා පිටුවෙහි සාකච්ඡා කරන්න. |
|
විකිපීඩියාවේ මාර්ගෝපදේශන |
---|
චර්යාත්මක |
අන්තර්ගතය |
සංවාදය |
සංස්කරණය |
සංවිධානය |
ශෛලීය |
තවත් |
ප්රතිපත්ති සහ මාර්ගෝපදේශන ලැයිස්තුව |
මෙම පිටුව සිංහල විකිපීඩියාවේ ප්රවර්ගීකරණය කිරීම් සම්බන්ධයෙන් ඇති මාර්ගෝපදේශයන් සමන්විතය. ප්රවර්ගීකරණය ක්රියාදාමය, කාරක රීතීන් ආදිය ගැනද කරුණු ඇතුළත්ය.
ප්රවර්ගීකරණය ක්රියාදාමය
[සංස්කරණය]විකිපීඩියාවේ ප්රවර්ගීකරණය ක්රියාදාමය ගත්කළ එය පැහැදිළි ලෙස අතු බෙදී වෙන් වුනු දැක්විය නොහැකිය. නමුත් එකිනෙක හරහා යමින් එකිනෙක බැඳුණු අතු සහිත ගසකට උපමා කල හැකිය. එනම් එක් ප්රවර්ගයක් තව ප්රවර්ගයක උප ප්රවර්ගයක් වන අවස්ථාවේදීම පළමු කී ප්රවර්ගය දෙවැනි කී ප්රවර්ගයේ මව් ප්රවර්ගයද විය හැකිය. එම නිසා මෙය මෙම ප්රවර්ග රුකෙහි ඇති සංකීර්ණ බව අඩු කිරීමට ප්රධාන ප්රවර්ගයන් කිහිපයක් උසස්ම තලයේ ප්රවර්ගයන් ලෙස නම් කර ඇත. ඒවා ප්රවර්ගය:පටුන යන පිටුවේ දැක්වේ. අන් සියළුම ප්රවර්ගයන් මෙම ප්රවර්ගයන්ට පහලින් දැක්විය යුතුය. එම නිසා මෙම ප්රවර්ගයන්ට අයත් නොවන අන් සියළුම ප්රවර්ගයන්ට අඩුම වශයෙන් එක් උප ප්රවර්ගයක් හෝ තිබිය යුතුය.
ප්රධාන වශයෙන් ප්රවර්ගයන් වර්ග දෙකක් පවතී.
- මාතෘකා ප්රවර්ග
- ප්රවර්ගය ඒක වචනයෙන් ලියැවෙයි. විකිපීඩියා ලිපියේ මාතෘකාවට සබැඳෙයි. උදාහරණ ලෙස මාතෘකාවට ශ්රී ලංකා ලෙස සම්බන්ධ ලිපි ප්රවර්ගය:ශ්රී ලංකා යන ප්රවර්ගයට අයත් වේ.
- ලැයිස්තු ප්රවර්ග
ප්රවර්ගය බහු වචනයෙන් ලියැවෙයි. එක් කුලකයට අයත් එනම් එක් ලැයිස්තුවකට අයත් ලිපි හා බැඳෙයි. උදාහරණ ලෙස ප්රවර්ගය:නගර සහ ගම්මාන - ශ්රී ලංකා යන ප්රවර්ගය තුල මාතෘකාව ලෙස ලංකාවේ නගර ඇතුළත් ලිපි එක් වෙයි.
ඉංග්රීසි විකිපීඩියාව සිට මෙහි ගෙන ආ කොටස
|
---|
This page contains guidance on the proper use of the categorization function in Wikipedia. For information on the mechanics of the function, category syntax, etc., see Help:Category. For quick answers, see the Categorization FAQ. For proposals to delete, merge, or rename categories, follow the instructions at Categories for discussion. Please use it before undertaking any complicated re-categorization of existing categories or mass creation of new categories. The central goal of the category system is to provide navigational links to Wikipedia pages in a hierarchy of categories which readers, knowing essential—defining—characteristics of a topic, can browse and quickly find sets of pages on topics that are defined by those characteristics. Categories are not the only means of enabling users to browse sets of related pages. Other tools which may be used instead of or alongside categories in particular instances include lists and navigation boxes. For a comparison of these techniques, see Categories, lists and navigation templates. Naming conventions[සංස්කරණය]When naming a category, one should be particularly careful and choose its name accurately. Moving non-conventionally categorized pages to another category name (see {{Category redirect}}) imposes an additional overhead – an edit for each article and subcategory. Also, try to avoid names that are too long or too short. Short, straight-forward names, are preferred for categories, though it may be necessary at times to deviate from this principle for clarity or disambiguation. General conventions[සංස්කරණය]
Categories for articles[සංස්කරණය]
Project categories[සංස්කරණය]
Creating category pages[සංස්කරණය]After you have determined an appropriate category name and know its parent category, you are ready to create the new category. To create a category, first add an article to that category. Do this by editing the article page. At the bottom, but before the interwiki links (if any are present), add the name of the new category, (e.g.: Next, to create the category, click on that red link, which brings you back into the editor. Adding this new category into the appropriate parent category is much the same as with an article: at the bottom, simply add the parent category (e.g.: Sometimes, a common-sense guess based on the title of the category isn't enough to figure out whether a page should be listed in the category. So, rather than leave the text of a category page empty (containing only parent category declarations), it is helpful – to both readers and editors – to include a description of the category, indicating what pages it should contain, how they should be subcategorized, and so on. In such cases, the desired contents of the category should be described on the category page, similar to how the list selection criteria are described in a stand-alone list. The category description should make direct statements about the criteria by which pages should be selected for inclusion in (or exclusion from) the category. This description, not the category's name, defines the proper content of the category. Do not leave future editors to guess about what or who should be included from the title of the category. Even if the selection criteria might seem obvious to you, an explicit standard is helpful to others, especially if they are less familiar with the subject. The description can also contain links to other Wikipedia pages, in particular to other related categories which do not appear directly as subcategories or parent categories, and to relevant categories at sister projects, such as Commons. Another technique that can be used is described at Wikipedia:Classification. Like disambiguation pages, category pages should not contain either citations to reliable sources or external links. Various templates have been developed to make it easier to produce category descriptions; see Category namespace templates. There are hatnote templates including {{Cat main}} and {{Category see also}}; others are listed at Wikipedia:Hatnote#Categories. A maximum of 200 category entries are displayed per screen. To make navigating large categories easier, a table of contents can be used on the category page. The following templates are some of the ways of doing this:
Subcategories are split alphabetically along with the articles, which means that the initial screen of a split category may not include all its subcategories. To make all subcategories display on each screen, add a category tree to the text of the category page, as described at the help page under Displaying category trees and page counts. Category pages can have interlanguage links in the "Languages" list in the left sidebar (in the default skin), linking to corresponding categories in other language Wikipedias. To edit these on Wikidata, click on the "Edit links" link at the end of the languages list. Categorizing pages[සංස්කරණය]Every Wikipedia page should belong to at least one category. (However, there is no need to categorize talk pages, redirects, or user pages, though these may be placed in categories where appropriate.) In addition, each categorized page should be placed in all of the most specific categories to which it logically belongs. This means that if a page belongs to a subcategory of C (or a subcategory of a subcategory of C, and so on) then it is not normally placed directly into C. For exceptions to this rule, see § Eponymous categories and § Non-diffusing subcategories below. While it should typically be clear from the name of an existing category which pages it should contain, the text of the category page may sometimes provide additional information on potential category contents. One way to determine if suitable categories already exist for a particular page is to check the categories of pages concerning similar or related topics. Another way is to search existing category names as described here (top of page). Since all categories form part of a hierarchy, do not add categories to pages as if they are tags. Articles[සංස්කරණය]Apart from certain exceptions (i.e. eponymous categories and non-diffusing subcategories – see below), an article should be categorised under the most specific branch in the category tree possible, without duplication in parent categories above it. In other words, articles should rarely be placed in both a given category and any of its sub- or parent (super-) categories. For example, the article "Paris" need only be placed in "Category:Cities in France", not in both "Category:Cities in France" and "Category:Populated places in France". Because the first category (cities) is in the second category (populated places), readers are already given the information that Paris is a populated place in France by it being a city in France. Categorization of articles must be verifiable. It should be clear from verifiable information in the article why it was placed in each of its categories. Use the {{Uncited category}} template if you find an article in a category that is not shown by sources to be appropriate or if the article gives no clear indication for inclusion in a category.
Categorization must also maintain a neutral point of view. Categorizations appear on article pages without annotations or referencing to justify or explain their addition; editors should be conscious of the need to maintain a neutral point of view when creating categories or adding them to articles. Categorizations should generally be uncontroversial; if the category's topic is likely to spark controversy, then a list article (which can be annotated and referenced) is probably more appropriate. For example, a politician (not convicted of any crime) should not be added to a category of notable criminals. A central concept used in categorizing articles is that of the defining characteristics of a subject of the article. A defining characteristic is one that reliable sources commonly and consistently define[1] the subject as having—such as nationality or notable profession (in the case of people), type of location or region (in the case of places), etc. For example, in Caravaggio, an Italian artist of the Baroque movement, Italian, artist, and Baroque may all be considered to be defining characteristics of the subject Caravaggio.
Particular considerations for categorizing articles:
Eponymous categories[සංස්කරණය]A category that covers exactly the same topic as an article is known as the eponymous category for that article (e.g. New York City and Category:New York City; Mekong and Category:Mekong River). An eponymous category should have only the categories of its article that are relevant to the category's content. For example:
Guidelines for articles with eponymous categories[සංස්කරණය]
If eponymous categories are categorized separately from their articles, it will be helpful to make links between the category page containing the articles and the category page containing the eponymous categories. The template {{Related category}} can be used for this. An example of this set-up is the linked categories Category:American politicians and Category:Wikipedia categories named after American politicians. Files/images[සංස්කරණය]Category tags can be added to file/image pages of files that have been uploaded to Wikipedia. When categorized, files are not included in the count of articles in the category, but are displayed in a separate section with a thumbnail and the name for each. A category can mix articles and images, or a separate file/image category can be created. A file category is typically a subcategory of the general category about the same subject, and a subcategory of the wider category for files, Category:Wikipedia files. To categorize a new file when uploading, simply add the category tag to the upload summary. Freely licensed files may also be uploaded to, and categorized on, Wikimedia Commons. This can be done instead of, or in addition to, uploading and categorizing on Wikipedia. Most freely licensed files will eventually be copied or moved from Wikipedia to Commons, with a mirror page remaining on Wikipedia. (For an example of one such mirror page, see here.) Categories should not be added to these Wikipedia mirror pages, because doing so creates a new Wikipedia page that is subject to speedy deletion. Exceptions to this principle are made for mirror pages of images that are nominated as featured pictures and for those that appear on the Wikipedia Main Page in the Did You Know? column. Images that are used in Wikipedia that are non-free or fair use should not appear as thumbnail images in categories. To prevent the thumbnail preview of images from appearing in a category, __NOGALLERY__ should be added to the text of the category. In such cases, the file will still appear in the category, but the actual image preview will not. Wikipedia administrative categories[සංස්කරණය]A distinction is made between two types of categories:
Administrative categories include stub categories (generally produced by stub templates), maintenance categories (often produced by tag templates such as {{cleanup}} and {{fact}}, and used for maintenance projects), WikiProject and assessment categories, and categories of pages in non-article namespaces. Article pages should be kept out of administrative categories if possible. For example, the templates that generate WikiProject and assessment categories should be placed on talk pages, not on the articles themselves. If it is unavoidable that an administration category appears on article pages (usually because it is generated by a maintenance tag that is placed on articles), then in most cases it should be made a hidden category, as described in § Hiding categories below. There are separate administrative categories for different kinds of non-article pages, such as template categories, disambiguation page categories, project page categories etc. In maintenance categories and other administrative categories, pages may be included regardless of type. For example, in an error tracking category it makes sense to group templates separately, because addressing the errors there may require different skills compared to fixing an ordinary article. For sorting each namespace separately, see § Sort keys below. User pages[සංස්කරණය]User pages are not articles, and thus do not belong in content categories such as Living people or Biologists. They can however be placed in user categories – subcategories of Category:Wikipedians, such as Category:Wikipedian biologists – which assist collaboration between users. Similarly, user subpages that are draft versions of articles should be kept out of content categories, but are permitted in non-content or project categories, like Category:User essays. If you copy an article from mainspace to userspace and it already contains categories, remove them or comment them out. Restore the categories when you move the draft back into article space. Two scripts are available to help with these tasks: User:DannyS712/Draft no cat and User:DannyS712/Draft re cat. At Database reports/Polluted categories, a list of affected categories is maintained. Draft pages[සංස්කරණය]Drafts, no matter whether in the draft namespace or your userspace, are not articles, and thus do not belong in content categories such as Living people or Biologists. If you copy an article from mainspace to draftspace or your userspace and it already contains categories, then disable them: edit each by inserting a colon character to link to its category instead (e.g. change Two scripts are available to help with these tasks: User:DannyS712/Draft no cat and User:DannyS712/Draft re cat. Template categorization[සංස්කරණය]Templates are not articles, and thus do not belong in content categories. It is however a recommendation to place them in template categories – subcategories of Category:Wikipedia templates – to assist when looking for templates of a certain type. For example, Template:Schubert string quartets is categorized under Category:String quartets by composer templates, which should be a subcategory of Category:Music navigational boxes (type) but Template:Schubert string quartets should not be categorized under Category:Franz Schubert or Category:String quartets (content). It is usually desirable that pages using a template are not placed in the same categories as the template itself. To avoid this, the category for the template should be placed on the template's documentation page, normally within a Categorization using templates[සංස්කරණය]Many templates include category declarations in their transcludable text, for the purpose of placing the pages containing those templates into specific categories. This technique is very commonly used for populating certain kinds of administration categories, including stub categories and maintenance categories. However, it is recommended that articles not be placed in ordinary content categories using templates in this way. There are many reasons for this: editors cannot see the category in the wikitext; removing or restructuring the category is made more difficult (partly because automated processes will not work); inappropriate articles and non-article pages may get added to the category; sort keys may be unavailable to be customised per category; and ordering of categories on the page is less controllable. When templates are used to populate administration categories, ensure that the code cannot generate nonsensical or non-existent categories, particularly when the category name depends on a parameter. Also, see Category suppression for ways of keeping inappropriate pages out of template-generated categories. Category declarations in templates often use Hiding categories[සංස්කරණය]In cases where, for technical reasons, administration categories appear directly on articles rather than talk pages, they should be made into hidden categories, so that they are not displayed to readers. This rule does not apply to stub categories or "uncategorized article" categories – these types are not hidden. To hide a category, add the template A logged-in user may elect to view all hidden categories, by checking "Show hidden categories" on the "Appearance" tab of Preferences. Notice that "hidden" parent categories are never in fact hidden on category pages (although they are listed separately). Hidden categories are listed at the bottom when previewing. All users of the desktop version can see hidden categories for a page by clicking "Page information" under "Tools" in the left pane, or by editing the whole page with the source editor. Redirected categories[සංස්කරණය]Do not create inter-category redirects. See Wikipedia:Categories for discussion#Redirecting categories for the policy, and Wikipedia:Redirect#Category redirects for the technical details.
Sort keys[සංස්කරණය]Sort keys are sometimes needed to produce a correct ordering of member pages and subcategories on the category page. For the mechanics, see Sorting category pages on the help page. Categories of people are usually sorted by last name rather than first name, so "surname, forename" sort keys are used (as in "Washington, George"). There are many other rules for sorting people's names; for more information, see WP:NAMESORT. Other sort key considerations (in no particular order):
Category tree organization[සංස්කරණය]Categories are organized as overlapping "trees", formed by creating links between inter-related categories (in mathematics or computer science this structure is called a partially ordered set). Any category may contain (or "branch into") subcategories, and it is possible for a category to be a subcategory of more than one "parent" category. (A is said to be a parent category of B when B is a subcategory of A.) [3] There is one top-level category, Category:Contents. All other categories are found below this. Hence every category apart from this top one must be a subcategory of at least one other category.
There are two main kinds of category:
Sometimes, for convenience, the two types can be combined, to create a set-and-topic category (such as Category:Voivodeships of Poland, which contains articles about particular voivodeships as well as articles relating to voivodeships in general). Subcategorization[සංස්කරණය]If logical membership of one category implies logical membership of a second (an is-a relationship), then the first category should be made a subcategory (directly or indirectly) of the second. For example, Cities in France is a subcategory of Populated places in France, which in turn is a subcategory of Geography of France. Many subcategories have two or more parent categories. For example, Category:British writers should be in both Category:Writers by nationality and Category:British people by occupation. When making one category a subcategory of another, ensure that the members of the subcategory really can be expected (with possibly a few exceptions) to belong to the parent also. Category chains formed by parent–child relationships should never form closed loops;[4] that is, no category should be contained as a subcategory of one of its own subcategories.[5] If two categories are closely related but are not in a subset relation, then links between them can be included in the text of the category pages. Except for non-diffusing subcategories (see below), pages for sub-categories should be categorised under the most specific parent categories possible. Sometimes proper subcategorization requires the creation of new categories. Note also that as stub templates are for maintenance purposes, not user browsing (see § Wikipedia administrative categories above), they do not count as categorization for the purposes of Wikipedia's categorization policies. An article which has a "stubs" category on it must still be filed in the most appropriate content categories, even if one of them is a direct parent of the stubs category in question. Diffusing large categories[සංස්කරණය]Although there is no limit on the size of categories, a large category will often be broken down ("diffused") into smaller, more specific subcategories. For example, Category:Rivers of Europe is broken down by country into the subcategories Rivers of Albania, Rivers of Andorra, etc. A category may be diffused using several coexisting schemes; for example, Category:Albums is broken down by artist, by date, by genre etc. Metacategories may be created as ways of organizing schemes of subcategories. For example, the subcategories called "Artistname albums" are not placed directly into Category:Albums, but into the metacategory Category:Albums by artist, which itself appears in Category:Albums. (See Category:Categories by parameter) It is possible for a category to be only partially diffused—some members are placed in subcategories, while others remain in the main category. Information about how a category is diffused may be given on the category page. Categories which are intended to be fully broken down into subcategories can be marked with the {{category diffuse}} template, which indicates that any pages which editors might add to the main category should be moved to the appropriate subcategories when sufficient information is available. (If the proper subcategory for an article does not exist yet, either create the subcategory or leave the article in the parent category for the time being.) To suggest that a category is so large that it ought to be diffused into subcategories, you can add the {{overpopulated category}} template to the category page. Non-diffusing subcategories[සංස්කරණය]Not all subcategories serve the "diffusion" function described above; some are simply subsets which have some special characteristic of interest, such as Best Actor Academy Award winners as a subcategory of Film actors or Musical films as a subcategory of Musicals. These are called non-diffusing subcategories. They provide an exception to the general rule that pages are not placed in both a category and its subcategory: there is no need to take pages out of the parent category purely because of their membership of a non-diffusing subcategory. (Of course, if the pages also belong to other subcategories that do cause diffusion, then they will not appear in the parent category directly.) Non-diffusing subcategories should be identified with a template on the category page:
Subcategories defined by gender, ethnicity, religion, and sexuality should almost always be non-diffusing subcategories. The Wikipedia:Categorization/Ethnicity, gender, religion and sexuality categorization guideline outlines the rules on these categories in more detail. Note that some categories can be non-diffusing on some parents, and diffusing on others. For example, Cat:British women novelists is a non-diffusing sub-category of Cat:British novelists, but it is a diffusing subcategory of Cat:Women novelists by nationality. |
Category cleanup templates
[සංස්කරණය]- Article with insufficient categories
- {{Improve categories}} template indicates that the article needs additional or more specific categories. It is recommended that this template be placed at the bottom of the page, where readers will look for the categories.
- Article with too many categories
- Use {{Recategorize}} template when there are too many categories. Put this template on the top of articles.
- Incorrect category
- The {{Check category}} template can be used to flag a page that may be in the wrong category or which you believe may need adding to additional categories. It will add the page to Category:Category needs checking.
- Category unknown
- If you're not sure where to categorise a particular page, add the {{uncategorized}} template to it, and other editors (such as those monitoring Wikipedia:WikiProject Categories/uncategorized) will help find appropriate categories for it.
See also
[සංස්කරණය]- Wikipedia:Categorization dos and don'ts (information page summarizing key points of this guideline)
- Wikipedia:Category suppression
- Wikipedia:WikiProject Categories
- m:Association of Categorist Wikipedians
- m:Help:Sorting
- Category:Wikipedia essays about categorization
- Wikipedia:FAQ/Categorization
- Help:Gadget-Cat-a-lot, script for moving subcategories between categories
- Wikipedia:Maintenance
For browsing
[සංස්කරණය]- Wikipedia:PetScan (formerly CatScan)
- Wikipedia:Classification (category tree jumping)
- Wikipedia:Category intersection (ability to find articles that are in more than one category)
- Special:Categories (lists all existing categories alphabetically)
- Special:CategoryTree
- Category:Wikipedia categories
For maintenance
[සංස්කරණය]- Special:Mostlinkedcategories
- Special:Uncategorizedimages
- Special:Uncategorizedpages
- Special:Unusedcategories
- Special:Wantedcategories
- Wikipedia:Category combinatorics
- Wikipedia:Database reports#Categories
- Template:Category link with count
Notes
[සංස්කරණය]- ^ in prose, as opposed to a tabular or list form
- ^ In 2016, English Wikipedia's category collation was changed to "uca-default", which is based on the Unicode collation algorithm (UCA). The most noticeable difference is that UCA groups characters with diacritics with their non-diacritic versions. See Wikipedia talk:Categorization/Archive 16#OK to switch English Wikipedia's category collation to uca-default? § Notes and Wikipedia:Village pump (technical)/Archive 149#Sorting in categories unreliable for a few days § Notes.
- ^ Mathematically speaking, this means that the system approximates a directed acyclic graph.
- ^ This condition can be formulated in terms of graph theory as follows: the directed graph that has the categories as vertices and the parent-child relationships as edges should be acyclic.
- ^ There is an exception to this for maintenance purposes. For example, Category:Hidden categories is a direct subcategory of itself and of Category:Wikipedia extended-confirmed-protected pages and Category:Container categories, each of which is a direct subcategory of Category:Hidden categories.