Forum:Bot Help

I got a Bot up and running(adding user-config and thief_family) at the Thief Wiki using Pywikipediabot.

I started moving categories(plural to singular) "category.py move", entered old name and then new name.

I didn't notice the problem until later, every article it changed it added this text:

From Thief Wiki, a Wikia wiki.

Where/why is this being added?? Did I miss some setting or config somewhere? And is there an easy way to remove it from all the bots Contributions? --Sxerks 15:19, 16 April 2009 (UTC)


 * I don't personally know a lot about Pywikipediabot, but I know that AutoWikiBrowser doesn't suffer from that issue - http://en.wikipedia.org/wiki/Wikipedia:AWB 17:01, 16 April 2009 (UTC)


 * I do personally know why that happens :) read this and the comments. Pywikipediabot (right now) uses Special:export, to get its wiki text. Wikia has a feature turned on so that when pages are exported from wikia (most likely with the intent of taking the content elsewhere) some link of where it came from is added (that text your getting) to the bottom of every page. you will need to modify your wikipedia.py file to filter that out as it gets page text, the instructions are in the comments in the link above. enjoy. --Uberfuzzy 17:24, 16 April 2009 (UTC)

OK, took a couple of tries(the linebreak on the SF page threw me off), aligning it like this fixed it, thanks. self._contents = re.sub(' .* ', '', self._contents) return self._content

But, now the bigger question of cleaning up the mess it made. How do I retrieve the Contributions pages and remove the text, and would AWB be better at doing it?--Sxerks 18:17, 16 April 2009 (UTC)


 * AWB does not export the pages oppose to Pywikipediabot hence there is no  put, but there is a notice of you using the AWB but can be taken down and i could not tell you how i do it since i use rather exotic configuration. but Pywikipediabot can be faster as it does not have to download every single page as we cant use the database scanner feature from AWB (i dont know how but im still trying to).
 * At the end AWB its a more user friendly interface but there is a huge lack of documentation as its poorly user maintain but it can look for certain user contributions create a list, then you would use the filter option to remove duplicates, etc and ask to replace that div code for nothing.


 * To awnser Sxerks, i used Autowikibrowser some moths ago to remove thoses notices from all pages that had them on fr.guildwars.
 * The wikitexte to remove is always the same. AWB can scan all pages of a wiki or all pages that a in a perticular category, and replace what you tell it to. In this case, i telled it to replace with a space (or so). — TulipVorlax 08:58, 17 April 2009 (UTC)


 * I used AWB to get the Bots Contributions and replace the text with blank. But it was slow and I had to manually press the "Save" button 500 times(really), I couldn't find a way to set it automatically in AWB.--Sxerks 15:23, 17 April 2009 (UTC)

Page Moves
How do you do full page moves and links to that page? (not redirect fixing, the actual in-page links)

Example: page A -> page B, and change all links(what links here A) to B.

It seem AWB is only good for making lists and replacing text, can't do page moves.

Can Pywikipediabot even access the "what links here"?--Sxerks 15:23, 17 April 2009 (UTC)