Re: Wikibot edit

Yes, you need to replace " $MyBot = new Wikibot($username, $password);" with " $MyBot = new Wikibot($username, $password, "http://www.uesp.net/w/");"

That was a copy/paste error in one of the snippets I sent you, apologies. Regards, - Jarry1250 [Weasel? Discuss.] 12:48, 24 August 2011 (UTC)Reply

Programming is a frustrating thing (golf is my only more frustrating hobby). Does the script create a cookie.txt file in the same directory as it? It should do. If not, you need to change the permissions of the folder (is it read-only? Are you on Windows or Linux?). - Jarry1250 [Weasel? Discuss.] 11:56, 27 August 2011 (UTC)Reply
Yes, but some of my code is looking quite old now. If I did it again, I'd use file(), like so:
<?php
...
$targets = file( 'targets.txt' );
foreach ($targets as $target){
  //$target is a string now equal to a line from the text file
  //e.g. User:Broccollipie or Talk:Foo or simply Bar
}
...
?>
Hope that helps. - Jarry1250 [Weasel? Discuss.] 16:10, 27 August 2011 (UTC)Reply
Anything that you want to do for every article needs to go before the }. HTH, - Jarry1250 [Weasel? Discuss.] 10:21, 28 August 2011 (UTC)Reply