I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Rosetta Code:Village Pump/Renaming a Language

From Rosetta Code
Renaming a Language
This is a particular discussion thread among many which consider Rosetta Code.

Summary

Questions about how to rename a language on the site

Discussion

Protium has changed its name to Peloton. How do I effect this change on RC? Axtens (talk) 10:23, 2 September 2015 (UTC)

The basic process would be:
  1. Move [[Category:old name]] to [[Category:new name]] (and move the talk page and leave behind redirects)
  2. Redirect [[new name]] to [[Category:new name]]
  3. Change [[old name]] to redirect to [[Category:new name]] (this is to get rid of double redirects)
  4. Go through all of the pages in [[Category:old name]] and change them so that they are in [[Category:new name]] (for tasks this means changing the language in the header templates)
You might be able to script that last one using the wiki APIs. Unfortunately this will be a long process if there are a lot of tasks using the old name. --Mwn3d (talk) 17:10, 2 September 2015 (UTC)