Difference between pages "Help:Categories" and "Help:Deleting a page"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
{{PD Help Page}}
+
{{#ifexist: Template:PD Help Page/{{SUBPAGENAME}}|{{PD Help Page/{{SUBPAGENAME}}}}|{{PD Help Page}}}}
MediaWiki allows you to categorize pages and files by appending one or more '''Category''' {{#ifeq:Category|{{ns:category}}||'''({{ns:category}})'''}} tags to the content text. Adding these tags creates 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.
+
  
==Add 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).
 
<nowiki>[[</nowiki>{{ns:category}}:''NAME'']]
 
  
Any number of {{ns:category}} tags may be added to the page and the page will be listed in all of them. {{ns:category}} tags can be added wherever you like in the editing text, but they are usually added at the very bottom for the convenience of other editors.
 
  
Spaces and line breaks before categories are ignored, thus
+
== When not to delete a page ==
<pre><nowiki>
+
Typically you would delete a page if the contents are entirely inappropriate and do not match the purposes of the Wiki. In other situations, you would take a less extreme course of action, for example:
* A list item
+
[[Category:Some category]] Some text
+
</nowiki></pre>
+
will be rendered the same as
+
<pre><nowiki>
+
* A list item Some text
+
</nowiki></pre>
+
You will need to manually add a &lt;br /&gt; tag or a line break after the category.
+
  
===Sort key===
+
* The page should have a different title -- See [[Help:Moving a page]]
A ''sort key'' specifies where the page will appear in the category list, and under which letter heading. (By default, the page is sorted under the first letter of its full name ''including its namespace''.) You can add a sort key to a page by adding it inside the {{ns:category}} tag. For example, the tag below will add the page under the heading "S".
+
* The contents should have been placed on a different page -- Add the contents to the other page, and then supply a redirect. See [[Help:Redirects]]
<nowiki>[[</nowiki>{{ns:category}}:''NAME''|''SORT'']]
+
* The contents are already on a different page -- Delete the duplicate content and leave a redirect. That way, the page title, which made sense to somebody, will helpfully redirect to the information. See [[Help:Redirects]]
 +
* The page is out-of-date -- Re-word sentences to be in the past tense, to make the page an historical record. Alternatively, label the information as out-of-date, with a warning notice.
  
Sort keys are case-sensitive, and a space is also valid. The order of the sections within a category follows the Unicode sort order. The sort key does not change the page title displayed in the category.
+
An actual delete is generally necessary only if the ''title'' of the page is inappropriate. In other situations, a merge and redirect is more appropriate.
  
==Create a category==
+
=== Proposing changes ===
A category is created when a page is created in the '''''Category:''''' namespace. A category page can be created the same way as other wiki pages (See [[Help:Starting a new page]]); just add "<code>{{ns:category}}:</code>" before the page title. (Category lists exist even if their description page is not created, but these categories are isolated from others and serve little purpose for organization or navigation.)
+
Deciding on appropriate content/page titles can be a difficult aspect of Wiki organization, and one which can often provoke debates. If the merge or deletion you have in mind is one which might cause upset, you should propose the change first. Do this by leaving a note to give your reasons on the [[Help:Talk pages|talk page]]. You might also establish a system for labeling the page with a delete/merge proposal template, to make everybody aware of your intentions.
  
It is not possible to rename (move) a category, unlike other wiki pages. It is necessary to create a new category and change the {{ns:category}} tag on every page. The new category will not have the older category's page history, which is undesirable if there are many revisions.
+
=== Unlinking a page ===
 +
The 'What links here' toolbox feature (bottom of left sidebar) will tell you which other Wiki pages link to the current page. Always use this feature to check before proceeding with deleting. These related pages will need to be edited for their links to reflect the change.
  
To avoid extra work, try searching within your wiki before creating a new category. The list of all categories can be found in "{{int:specialpages}}" in the "{{lcfirst:{{int:toolbox}}}}" box of the [[Help:Navigation#Sidebar|sidebar]].
+
== Deletion itself ==
 +
'''Normal users cannot permanently delete a Wiki page'''. This is a deliberate design feature, and is an important part of why wikis work. Every kind of editing operation can be reverted by any other user, and that includes resurrecting deleted content. It doesn't cause significant wasted space; and with nothing but a 'delete' label, the page is effectively deleted anyway.
  
==Hidden categories==
+
'[[Help:Sysops and permissions|Sysop]]' users ''are'' able to delete a page semi-permanently. See [[Help:Sysop deleting and undeleting]]. Typically 'sysops' might look for delete labels, and do a proper delete on these pages, after a period of time. If for some reason you need a page to be deleted more quickly than that, you will need to contact a 'sysop' to request this.
The categories that a page is in are normally listed at the bottom of the page. A category can be hidden from these lists by adding "<code><nowiki>__HIDDENCAT__</nowiki></code>" [[Help:Magic words|magic word]] to the category page. (Each user can choose to see them in a separate "{{int:hidden-categories}}" list, by checking "{{int:tog-showhiddencats}}" in the "{{int:prefs-rendering}}" section of [[Special:Preferences]].)
+
  
Hidden categories are automatically added to [[:Category:{{mediawiki:hidden-category-category}}]] (specified by [[MediaWiki:Hidden-category-category]]).
+
==See also==
 +
* [[Help:Sysops and permissions]]
  
Hidden categories are not hidden on category pages ({{bugzilla|15550}})
+
{{Languages|Help:Deleting a page}}
 
+
==Linking to a category==
+
To create a link to a category, use a leading colon before the category name. (Without this colon, it will add the current page to the category.) To change the link text, write the text inside the link tag after a pipe.
+
<nowiki>[[</nowiki>:{{ns:category}}:''NAME'']]
+
<nowiki>[[</nowiki>:{{ns:category}}:''NAME''|''TEXT'']]
+
+
For example, to link to "{{ns:category}}:Help", write "<code><nowiki>[[</nowiki>:{{ns:category}}:Help]]</code>", which will result in [[:{{ns:category}}:Help]].
+
 
+
[[Help:Redirects|Redirect pages]] (to categories) must also use the colon, otherwise it will be added to the category instead of redirecting.
+
 
+
{{Languages}}
+
[[Category:Help|Categories]]
+

Latest revision as of 17:42, 11 January 2014

PD Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Project:PD help/Copying for instructions. PD


Contents

[edit] When not to delete a page

Typically you would delete a page if the contents are entirely inappropriate and do not match the purposes of the Wiki. In other situations, you would take a less extreme course of action, for example:

  • The page should have a different title -- See Help:Moving a page
  • The contents should have been placed on a different page -- Add the contents to the other page, and then supply a redirect. See Help:Redirects
  • The contents are already on a different page -- Delete the duplicate content and leave a redirect. That way, the page title, which made sense to somebody, will helpfully redirect to the information. See Help:Redirects
  • The page is out-of-date -- Re-word sentences to be in the past tense, to make the page an historical record. Alternatively, label the information as out-of-date, with a warning notice.

An actual delete is generally necessary only if the title of the page is inappropriate. In other situations, a merge and redirect is more appropriate.

[edit] Proposing changes

Deciding on appropriate content/page titles can be a difficult aspect of Wiki organization, and one which can often provoke debates. If the merge or deletion you have in mind is one which might cause upset, you should propose the change first. Do this by leaving a note to give your reasons on the talk page. You might also establish a system for labeling the page with a delete/merge proposal template, to make everybody aware of your intentions.

[edit] Unlinking a page

The 'What links here' toolbox feature (bottom of left sidebar) will tell you which other Wiki pages link to the current page. Always use this feature to check before proceeding with deleting. These related pages will need to be edited for their links to reflect the change.

[edit] Deletion itself

Normal users cannot permanently delete a Wiki page. This is a deliberate design feature, and is an important part of why wikis work. Every kind of editing operation can be reverted by any other user, and that includes resurrecting deleted content. It doesn't cause significant wasted space; and with nothing but a 'delete' label, the page is effectively deleted anyway.

'Sysop' users are able to delete a page semi-permanently. See Help:Sysop deleting and undeleting. Typically 'sysops' might look for delete labels, and do a proper delete on these pages, after a period of time. If for some reason you need a page to be deleted more quickly than that, you will need to contact a 'sysop' to request this.

[edit] See also

Language: English