Forum:Pagename autoadd to category

One of our category's on the Dutch RuneScape Wiki contains all images, but they are all categorised as File: (Bestand: in Dutch). Is there any way I can automatically add all those category's with ? It took my bot about 5 hours to add those 6.700+ images to the Image (Afbeeldingen in Dutch) category... And I really don't have the patience for that... Is there any way to do it fast? Tedjuh10 - Talk 17:51, 14 July 2009 (UTC)


 * Maybe with JavaScript, adding (or whatever) at the end of the image description on submit, but won't work for people without JS --Ciencia Al Poder (talk) -WikiDex 19:47, 14 July 2009 (UTC)
 * Try this: At the end of the page you want categorized, place . So, if the page is File:Dragon.png, it would categorize by Dragon, not File. Just fill in the wanted category and that you place that in the description. Muzzy34 20:49, 14 July 2009 (UTC)


 * would work the same, but what Tedjuh10 wants is a way to add that piece of code automatically. --Ciencia Al Poder (talk) -WikiDex 09:38, 15 July 2009 (UTC)


 * Yes, It needs to be done automatically. If there's no other way, I will use my bot, but what command should I use? Tedjuh10 - Talk 11:00, 15 July 2009 (UTC)


 * Depends on what bot you're using. If it's a pywikipedia one, then
 * replace.py -regex -cat:"Images" -namespace:6 "\[\[[Cc]ategory:[Ii]mages\]\]" ""
 * should do. This will set the default sort for images which do not have one specified to what you want. -- Porter21 (talk) 20:26, 17 July 2009 (UTC)