Commons:Rename a category

From Wikimedia Commons, the free media repository
Revision as of 06:00, 27 December 2019 by 130.105.99.124 (talk)
Jump to navigation Jump to search

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 doesn'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.

See also