Forum:Image category

Is there a way that I can automatically add áll images to the Image category? Tedjuh10 - Talk 13:43, 6 June 2009 (UTC)


 * There is no need for that, Special:PrefixIndex/File: lists them all. 14:22, 6 June 2009 (UTC)
 * There's also Special:UncategorizedFiles. --Michaeldsuarez (Talk) (Deeds) 15:00, 6 June 2009 (UTC)


 * Still none are the answer... he wants to categorize them so they can be seen it in an alphabetic order be DPL or category pages, and oppose to some project images are categorize at the same as the articles so both are display when browsing the category pages (well thats my bet as thats my intention to apply some day to the dofus images). The fastest and easiest way i can think is by using a bot. The second best thing is to go to the image use the "end" key in your keyboard and use the add category option in monaco will be faster than my third option that is to "edit" waiting for loading then copy/paste or type down and then saving and waiting for load --


 * Yeah, but the problem is... we have about 250 images... I have a bot, well... the files, and the family / user config files, but I don't know how to use it. Any suggestions? Tedjuh10 - Talk 22:14, 6 June 2009 (UTC)


 * I'm guessing you are using the Pywikipedia bot, so use the category script (the command is ). By default, it'll only show up to 60 images, so increase the limit on "pagegenerators.py", line 325 ("UnCategorizedImageGenerator"). If you want to have them sorted in different subcategories, you should first move to all images to a temporary category, then use the replace script. You won't have to go through all images if you've skipped one (unless you're willing to wait a day for Special:UncategorizedFiles). I don't know if you've ever used a bot on Wikia, but just in case, make sure that you've fixed the credits line, and get the bot flagged on your wiki. --D. (talk · contr) 23:13, 7 June 2009 (UTC)


 * And where can I give that command (I've never used a bot before). Tedjuh10 - Talk 14:24, 9 June 2009 (UTC)


 * Go here. --D. (talk · contr) 15:20, 9 June 2009 (UTC)


 * When I try to give the login command, it says NamError: (The password I inserted) is not defined. Tedjuh10 - Talk 19:18, 9 June 2009 (UTC)


 * Are you using Python v.3.0.1? You must use v.2.6.2 for the bot to work. Otherwise, I don't know what the problem is if you haven't modified any files. --D. (talk · contr) 20:33, 9 June 2009 (UTC)
 * Actually, post your user-config.py. --D. (talk · contr) 20:38, 9 June 2009 (UTC)

import os, re, sys family = 'runescape' mylang = 'nl' usernames['runescape']['nl'] = 'RSWelcomeBot' minthrottle = 1 maxthrottle = 4 put_throttle = 4 noisysleep = 2.0

Here it is. Tedjuh10 - Talk 14:39, 10 June 2009 (UTC)
 * I just tried it, and it worked for me (I got the proper login text). I don't suppose the family file is the problem. Best thing to do is to reinstall all Pywikipedia files (make a backup of user-config and your family file). I can't really think what the problem would be. :/ --D. (talk · contr) 17:18, 10 June 2009 (UTC)


 * Maybe the mistake is in the login file? I made some changes (I only changed my name and pw there) —This unsigned comment is by Tedjuh10 (talk • contribs) . Please sign your posts with !
 * Oh that's why. login.py should not be modified. All logins/passwords are contained in your user-config. Replace your login.py by a clean one. --D. (talk · contr) 18:33, 10 June 2009 (UTC)


 * Allright, now it's working, but now it asks for my password. I can't type anything, even though it says I must. Tedjuh10 - Talk 18:52, 10 June 2009 (UTC)
 * That's normal: type it even if nothing shows up. --D. (talk · contr) 18:54, 10 June 2009 (UTC)
 * I forgot to say but it will also remember it, so you don't have to do  again after the first time. --D. (talk · contr) 18:57, 10 June 2009 (UTC)


 * Thanks! Everything works now! Wouldn't have done this without you! - I forgot to login again :P.


 * Something's wrong again; I just added that credit line, and now it says: unident doesn't match other indentent levels. Tedjuh10 - Talk 19:44, 10 June 2009 (UTC)
 * Make sure you've used the tab key and not the spacebar key when making indent. It'll look like this (on NotePad++). Each dotted vertical line is an indent made by the tab key.--D. (talk · contr) 20:17, 10 June 2009 (UTC)