Purple exclamation mark.svg 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.

Red exclamation mark.svg 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.

User talk:Jirashe

From Botwiki
Jump to: navigation, search

Hello. Can you help me? As my username implies, I need code for a bot I want to make. It is a bot that will userfy usrboxes on wikipedia that are controversial. For example:

template:user hate wiki says "I hate wikipedia"
creator is example
will put it in user:example/user hate wiki

Thank you. Needcode 23:08, 9 April 2008 (UTC)

You might want to look at template.py in pywikipediabot.
Syntax is: python template.py oldTemplate newTemplate
This should be able to be adapted to auto-edit all of the individual pages which use a template once the template itself has already been moved to userspace by other means. --Carlb 01:40, 10 April 2008 (UTC)
Personal tools
Share