Thread:Project:Support desk/Is there a way to take all the pages in a category and change their NS all at once?/reply

You can do it with a bot, however you're better off using an already existing extension. Unless there's a reason why you don't want to use an extension.

Extension:ReplaceText