Category Rename Auto-Update can rename categories and fix category links on other pages. This script adds a button in the dropdown on any category page, which will redirect to the category renaming form. It is STRONGLY recommended to have a bot flag when using this script, as it can be really spammy at times. This script works best when used as a Gadget, but can still be used in personal or wiki-wide Wikia.js regardless.
This is a maintenance script that involves renaming categories. By default, only administrators can use this script on a wiki. If you don't know if you are able to rename images, you should be able to see "Rename" in the dropdown menu (NAME) or any Category page to confirm.
Additionally, this script is considered semi-automated editing. Do not use this script without first reviewing your wiki's policies regarding automated editing and obtaining necessary approvals and/or user rights.
Note: in this example, pay close attention to the placement of commas and other punctuation. For people who aren't familiar with programming (and even those who are!), a common mistake when writing code is to accidentally delete, forget, or misplace critical symbols like commas or quote marks. This can cause a syntax error that breaks the code. Carefully follow the convention shown here when using importArticles.