Rosetta Code:Village Pump/Renaming a Language: Difference between revisions

From Rosetta Code
Content added Content deleted
(asking how to change all postings of a given language wherein the language itself has changed name)
 
(Outlining the process)
 
Line 1: Line 1:
{{Vptopic
|topic=Renaming a Language
|summary=Questions about how to rename a language on the site
}}
Protium has changed its name to Peloton. How do I effect this change on RC? [[User:Axtens|Axtens]] ([[User talk:Axtens|talk]]) 10:23, 2 September 2015 (UTC)
Protium has changed its name to Peloton. How do I effect this change on RC? [[User:Axtens|Axtens]] ([[User talk:Axtens|talk]]) 10:23, 2 September 2015 (UTC)
:The basic process would be:
:#Move <nowiki>[[Category:old name]] to [[Category:new name]]</nowiki> (and move the talk page and leave behind redirects)
:#Redirect <nowiki>[[new name]] to [[Category:new name]]</nowiki>
:#Change <nowiki>[[old name]] to redirect to [[Category:new name]]</nowiki> (this is to get rid of double redirects)
:#Go through all of the pages in <nowiki>[[Category:old name]] and change them so that they are in [[Category:new name]]</nowiki> (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. --[[User:Mwn3d|Mwn3d]] ([[User talk:Mwn3d|talk]]) 17:10, 2 September 2015 (UTC)

Latest revision as of 17:10, 2 September 2015

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)