Planning the future of Botwiki! - Help us bring Botwiki up to date, contribute to our strategy discussion, add bot scripts, and contribute manuals, guides, and tutorials! Almost anything related to bots, particularly those used to edit mediawiki, is welcome.
UNABLE TO EDIT? - We've experienced attacks by spambots lately and now require you to confirm your e-mail before you can edit (go to your preferences, enter an e-mail address, and request a confirmation e-mail, then go to your e-mail and click on the confirmation link). We also require new accounts to make a few edits and wait a few minutes before before you can create a page; however, if this is a problem contact us in #botwiki and we can manually confirm your account. Sorry for the inconvenience.
Python talk:CommonsDelinker
Contents |
MySQL log
Log of performed MySQL actions on the running CommonsDelinker.
- I did
UPDATE u_orgullo_logs SET newimg = NULL WHERE newimg = "NULL";on the database. Due some broken code, the bot inserts the string "NULL" into the database, instead of the NULL value. -- Bryan (talk to me) 11:34, 26 May 2007 (UTC)
ToDo/Bug list
- TODO: Dying MySQL connection also causes one CheckUsage or one Logger thread to die.
- TODO: exists() must be implemented in checkusage.CheckUsage instead of the way it is checked now in check_usage()
Delinking is just a special case of replacing...
I just realized this. Delinking is just replacing with an empty string (sort of). This basically means that the best way to create a replacer, is to rewrite retirar_imagem() such that it accepts an optional replacement parameter. The only other thing that has to be done then, is a method that reads a list to replace. Bryan 19:06, 31 May 2007 (UTC)
Subversion
I have created a subversion repository repository for the CommonsDelinker. Botwiki is a wiki; it's not quite suitable for large number commits, and it is too slow. For instructions on how to use subversion, see the page.
Siebrand: You can checkout the live version by using, when being in the pywikipedia subdirectory using svn checkout http://hemlock.knams.wikimedia.org/bryan/subversion/CommonsDelinker/branches/live .<code> (Note the dot)
If anybody needs write access, contact me on IRC. Bryan 17:31, 1 June 2007 (UTC)