Commons:Rename a category: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
m grammar
use {{pg}}, cleanup
Line 3: Line 3:
<translate>
<translate>
<!--T:27-->
<!--T:27-->
This page has instructions about how to “rename” or “move” a category, in order to associate an appropriate name with a given subject ([[<tvar|comcats>Special:MyLanguage/Commons:Categories</>|Commons:Categories]] defines what a category is and declares [[<tvar|comcats2>Special:MyLanguage/Commons:Categories#Category names</>|general naming principles]]).
This page has instructions about how to “rename” or “move” a category, in order to associate an appropriate name with a given subject ({{pg|<tvar|comcats>Commons:Categories</>|Commons:Categories}} defines what a category is and declares {{pg|<tvar|comcats2>Commons:Categories#Category names</>|general naming principles}}).


<!--T:30-->
<!--T:30-->
Line 10: Line 10:
<!--T:31-->
<!--T:31-->
Because moving all the items requires fix edit of all affected pages, "revert wars" over the correct name for a category can be particularly harmful. If you are ever in doubt about what the correct name should be, seek advice from others first. Talk is cheap. Moving 300 items from A to B and back again, not so much.
Because moving all the items requires fix edit of all affected pages, "revert wars" over the correct name for a category can be particularly harmful. If you are ever in doubt about what the correct name should be, seek advice from others first. Talk is cheap. Moving 300 items from A to B and back again, not so much.
</translate>


<translate>
== Subject identification == <!--T:32-->
== Subject identification == <!--T:32-->


Line 19: Line 17:


<!--T:33-->
<!--T:33-->
In the opposite case, categories should be emptied, then deleted (according to the [[<tvar|deletionpolicy>Special:MyLanguage/Commons:Deletion policy</>|deletion policy]]). Examples:</translate>
In the opposite case, categories should be emptied, then deleted (according to the {{pg|<tvar|deletionpolicy>Commons:Deletion policy</>|deletion policy}}). Examples:
</translate>


* <translate><!--T:34-->
* <translate><!--T:34--> '''Category:Courageous people of Switzerland''' (indeterminate subject)</translate>
'''Category:Courageous people of Switzerland''' (indeterminate subject)</translate>
* <translate><!--T:35--> '''Category:Sugar and salt''' (inappropriate mixing)</translate>
* <translate><!--T:35-->
* <translate><!--T:36--> '''Category:Sugalt''' (doesn't match an existing subject)</translate>
'''Category:Sugar and salt''' (inappropriate mixing)</translate>
* <translate><!--T:36-->
'''Category:Sugalt''' (doesn't match an existing subject)</translate>


<translate>
<translate>
Line 32: Line 28:
The subject of a category will be determined according to the following relevant clues:</translate>
The subject of a category will be determined according to the following relevant clues:</translate>


* <translate><!--T:38-->
* <translate><!--T:38--> current name of the category</translate>
current name of the category</translate>
* <translate><!--T:39--> text in the category page</translate>
* <translate><!--T:39-->
* <translate><!--T:40--> interwiki links</translate>
text in the category page</translate>
* <translate><!--T:41--> parent categories</translate>
* <translate><!--T:40-->
interwiki links</translate>
* <translate><!--T:41-->
parent categories</translate>


<translate>
<translate>
<!--T:42-->
<!--T:42-->
Notice that the contents (categorized pages and files) of the category don't matter, because each page or file has to be categorized according to appropriate subjects, and this process is not bound with any association of names to these subjects. In particular, most of the contents of a category could be wrongly categorized.
Notice that the contents (categorized pages and files) of the category don't matter, because each page or file has to be categorized according to appropriate subjects, and this process is not bound with any association of names to these subjects. In particular, most of the contents of a category could be wrongly categorized.
</translate>


== Types of renames == <!--T:43-->
<translate>

==Types of renames== <!--T:43-->
</translate>
</translate>
[[{{Localized media|2013-06-30 Nominage category for discussion link|png}}|thumb|<translate><!--T:44-->
[[{{Localized media|2013-06-30 Nominage category for discussion link|png}}|thumb|<translate><!--T:44--> For ''controversial fixes'', please discuss first</translate>]]
*<translate><!--T:45--> '''Trivial fixes''': fixing spelling, capitalisation or number (most common nouns should be plural, i.e. [[:Category:Things]] not [[:Category:Thing]]). These [[<tvar|bothash>#bots</>|can be done by bots]] without community input. <small>Recall that both UK and US spelling are acceptable.</small></translate>
For ''controversial fixes'', please discuss first</translate>]]
*<translate><!--T:46--> '''Unambiguous fixes''': standardising the category name in line with Commons' {{pg|<tvar|langpolicy>Commons:Language policy</>|naming conventions}} (currently: Latin binomial for lifeforms, usually English otherwise) and the hints given in {{pg|<tvar|namingcats>Commons:Naming categories</>|the category naming guideline}}. Tag these with a <tvar|template>{{tl|category redirect}}</> notice for up to seven days; a bot will move the contents to an existing category with the correct name. Redirected categories serve only to redirect and cannot be categorised themselves. If a category has a lot of items, consider it a controversial fix instead.</translate>
*<translate><!--T:45-->
*<translate><!--T:47--> '''Controversial fixes''': where a category name has been in use for a long time or a lot of items, or where the naming policy is unspecific. Any category that has a corresponding Wikipedia article which has had a naming controversy over that article definitely falls into this lot. Tag these with a <tvar|template2><code>{{tl|move}}</code></> notice. Start a discussion on a talk page, and link to it from any other relevant categories, consider posting a note on the [[COM:VP|Village pump]]<!-- Translators: You can drop this if the Village pump in your language is not popular. --> and/or {{pg|<tvar|cfdpage>Commons:Categories for discussion</>|Commons:Categories for discussion}} too. Let consensus develop before going on with a bot rename.
'''Trivial fixes''': fixing spelling, capitalisation or number (most common nouns should be plural, i.e. [[:Category:Things]] not [[:Category:Thing]]). These [[<tvar|bothash>#bots</>|can be done by bots]] without community input. <small>Recall that both UK and US spelling are acceptable.</small></translate>
*<translate><!--T:46-->
'''Unambiguous fixes''': standardising the category name in line with Commons' [[<tvar|langpolicy>Special:MyLanguage/Commons:Language policy</>|naming conventions]] (currently: Latin binomial for lifeforms, usually English otherwise) and the hints given in [[<tvar|namingcats>Special:MyLanguage/Commons:Naming categories</>|the category naming guideline]]. Tag these with a <tvar|template><code>{{tl|category redirect}}</code></> notice for up to seven days; a bot will move the contents to an existing category with the correct name. Redirected categories serve only to redirect and cannot be categorised themselves. If a category has a lot of items, consider it a controversial fix instead.</translate>
*<translate><!--T:47-->
'''Controversial fixes''': where a category name has been in use for a long time or a lot of items, or where the naming policy is unspecific. Any category that has a corresponding Wikipedia article which has had a naming controversy over that article definitely falls into this lot. Tag these with a <tvar|template2><code>{{tl|move}}</code></> notice. Start a discussion on a talk page, and link to it from any other relevant categories, consider posting a note on the [[COM:VP|Village pump]]<!-- Translators: You can drop this if the Village pump in your language is not popular. --> and/or [[<tvar|cfdpage>Special:MyLanguage/Commons:Categories for discussion</>|Commons:Categories for discussion]] too. Let consensus develop before going on with a bot rename.</translate>


<translate>
== Rename process == <!--T:48-->
== Rename process == <!--T:48-->
</translate>


<translate><!--T:64-->
<!--T:64-->
If you want to do the move yourself, you need to do two things:</translate>
If you want to do the move yourself, you need to do two things:</translate>
* <translate><!--T:65-->
* <translate><!--T:65--> Move the category page using "move" tab from the top bar of the category page</translate>
* <translate><!--T:67--> Move the included pages (files, subcategories, galleries etc.) from the old category to the new category.</translate> <translate><!--T:68--> You can use {{pg|<tvar|cal>Help:Gadget-Cat-a-lot</>|Cat-a-lot}} tool which can be activated in your personal preferences.</translate>
Move the category page using "move" tab from the top bar of the category page</translate>
* <translate><!--T:67-->
Move the included pages (files, subcategories, galleries etc.) from the old category to the new category.</translate> <translate><!--T:68-->
You can use [[<tvar|cal>Commons:Cat-a-lot</>|Cat-a-lot]] tool which can be activated in your personal preferences.</translate>


<translate><!--T:70-->
<translate><!--T:70-->
If appropriate, also mark the old category page for deletion as described below.</translate>
If appropriate, also mark the old category page for deletion as described below.</translate>


{{anchor|bots}}
<translate>
<translate>
=== Bot === <!--T:69-->
=== Bot === <!--T:69-->
</translate>
{{anchor|bots}}
<translate>


<!--T:50-->
<!--T:50-->
Line 84: Line 62:


<!--T:49-->
<!--T:49-->
Any bot doing category moving should receive community approval first as noted on [[<tvar|botdescpage>Special:MyLanguage/Commons:Bots</>|the bot description page]].
Any bot doing category moving should receive community approval first as noted on {{pg|<tvar|botdescpage>Commons:Bots</>|the bot description page}}.
</translate>
</translate>


{{shortcut2|COM:REDCAT}}{{anchor|DELOLD}}
{{shortcut2|COM:REDCAT}}{{anchor|DELOLD}}
<translate>
<translate>

==Should the old category be deleted?== <!--T:51-->
==Should the old category be deleted?== <!--T:51-->


Line 101: Line 78:
If the old category is a simple typo or you are the only person who ever used the category and you are the one fixing it up, it can safely be deleted. Request it for speedy deletion by marking it thus:</translate>
If the old category is a simple typo or you are the only person who ever used the category and you are the one fixing it up, it can safely be deleted. Request it for speedy deletion by marking it thus:</translate>


{{tlp|bad name|<translate><!--T:56-->
{{tlp|bad name|<translate><!--T:56--> new name</translate>}}
new name</translate>}}
<translate><!--T:60-->
<translate><!--T:60-->
or</translate>
or</translate>
{{tlp|speedydelete|<translate><!--T:57-->
{{tlp|speedydelete|<translate><!--T:57--> <nowiki>moved to [[:Category:…]] because …</nowiki></translate>}}
<nowiki>moved to [[:Category:…]] because …</nowiki></translate>}}


<translate>
<translate>
Line 114: Line 89:
<!--T:72-->
<!--T:72-->
We cannot sort everything according to the most current modern definition that will mix everything, with various unrelated contents, forgetting that some regions were part of the history of another country: at least the redirects are easy to recover and we don't lose the useful distinctive information.
We cannot sort everything according to the most current modern definition that will mix everything, with various unrelated contents, forgetting that some regions were part of the history of another country: at least the redirects are easy to recover and we don't lose the useful distinctive information.
</translate>

<translate>


== See also == <!--T:61-->
== See also == <!--T:61-->
</translate>
</translate>
* {{pg|Commons:Rename a template}}
* <translate><!--T:62-->
[[<tvar|rat>Special:MyLanguage/Commons:Rename a template</>|Commons:Rename a template]]</translate>
* [[:Category:Requested moves]]
* [[:Category:Requested moves]]
* [[Commons:File renaming]]
* {{pg|Commons:File renaming}}


[[Category:Commons help{{#translation:}}|{{PAGENAME}}]]
[[Category:Commons help{{#translation:}}]]
[[Category:FastCCI]]
[[Category:FastCCI]]

Revision as of 20:12, 22 March 2020

Shortcuts: COM:RENCAT • COM:CATMOVE

This page has instructions about how to “rename” or “move” a category, in order to associate an appropriate name with a given subject (Commons:Categories defines what a category is and declares general naming principles).

Commons has several bots and scripts that can assist in this process. Whether or not it is appropriate to use them depends on the kind of "renaming".

Because moving all the items requires fix edit of all affected pages, "revert wars" over the correct name for a category can be particularly harmful. If you are ever in doubt about what the correct name should be, seek advice from others first. Talk is cheap. Moving 300 items from A to B and back again, not so much.

Subject identification

The following presupposes that the category to be renamed has a unique subject which can be identified, and that this identified subject complies with Commons policy.

In the opposite case, categories should be emptied, then deleted (according to the deletion policy). Examples:

  • Category:Courageous people of Switzerland (indeterminate subject)
  • Category:Sugar and salt (inappropriate mixing)
  • Category:Sugalt (doesn't match an existing subject)

The subject of a category will be determined according to the following relevant clues:

  • current name of the category
  • text in the category page
  • interwiki links
  • parent categories

Notice that the contents (categorized pages and files) of the category don't matter, because each page or file has to be categorized according to appropriate subjects, and this process is not bound with any association of names to these subjects. In particular, most of the contents of a category could be wrongly categorized.

Types of renames

For controversial fixes, please discuss first
  • Trivial fixes: fixing spelling, capitalisation or number (most common nouns should be plural, i.e. Category:Things not Category:Thing). These can be done by bots without community input. Recall that both UK and US spelling are acceptable.
  • Unambiguous fixes: standardising the category name in line with Commons' naming conventions (currently: Latin binomial for lifeforms, usually English otherwise) and the hints given in the category naming guideline. Tag these with a {{Category redirect}} notice for up to seven days; a bot will move the contents to an existing category with the correct name. Redirected categories serve only to redirect and cannot be categorised themselves. If a category has a lot of items, consider it a controversial fix instead.
  • Controversial fixes: where a category name has been in use for a long time or a lot of items, or where the naming policy is unspecific. Any category that has a corresponding Wikipedia article which has had a naming controversy over that article definitely falls into this lot. Tag these with a {{Move}} notice. Start a discussion on a talk page, and link to it from any other relevant categories, consider posting a note on the Village pump and/or Commons:Categories for discussion too. Let consensus develop before going on with a bot rename.

Rename process

If you want to do the move yourself, you need to do two things:

  • Move the category page using "move" tab from the top bar of the category page
  • Move the included pages (files, subcategories, galleries etc.) from the old category to the new category. You can use Cat-a-lot tool which can be activated in your personal preferences.

If appropriate, also mark the old category page for deletion as described below.

Bot

Any bot doing category moving should receive community approval first as noted on the bot description page.

Shortcut

Should the old category be deleted?

This can be answered by answering this question: Is it likely that a new user might ever try to use this category by accident? With translations or just simple synonymy, the answer is yes.

If the old category name is a correct old or synonymic or alternative name of the subject or a correct expectable name for such a category, it should be marked with a {{Category redirect}} template permanently.

If the old category is a simple typo or you are the only person who ever used the category and you are the one fixing it up, it can safely be deleted. Request it for speedy deletion by marking it thus:

{{bad name|new name}}  

or

{{speedydelete|moved to [[:Category:…]] because …}}

Don't delete categories that were fine (and had the correct name) for historic objects (notably countries or subdivisions): they have a distinct history and most often not the same geographic definition and we have a lot of historic documents and photos that relate to these historic entities. Use {{Category redirect|new category name}} instead (it is much easier to revert: a deletion is destructive, it removes all page history, and this just wastes the precious time spent in properly collecting the relevant documents!).

We cannot sort everything according to the most current modern definition that will mix everything, with various unrelated contents, forgetting that some regions were part of the history of another country: at least the redirects are easy to recover and we don't lose the useful distinctive information.

See also