IByte bot 

Hi, are you still interested in the PHP code of my bot? Due to some general discontent with the attitude of some Wikipedia users (as stated on my user page) I've been away from WP for a while, so I didn't respond immediately.
The core of my bot is a library (PHP include file) that offers a function to fetch a specified WP page, and one that can save a page to WP again. In between, you can do any processing of the page you want. I currently have functionality for adding stub tags (sounds similar to what you want, if I understand correctly) and putting a page on AfD, both including user interface pages. User account authentication is currently hardcoded, so you'll either have to copy the info from your cookies into the code or extend it with something nicer.
If you're interested, give me an e-mail address to send the code to or something.