Thread:Project talk:Support desk/How can I automaticly have a catagory added to all my existing pages on my wiki?/reply

You could probably use PyWikibot to do what you want fairly easily, I think.