Manual talk:Pywikibot/redirect.py

Bug with broken
Please find my bug below: my bot is administrator on fr.b (I could suppress a page manually with its account), and when I launch "redirect.py double" it works perfectly.

However, with "both" or "broken", no deletion is possible: he can see the broken redirections list, but when I enter "y" or launch the script "-always" it passes to the next entry without any page suppression. >python redirect.py broken -v Pywikipediabot [http] trunk/pywikipedia (r8359, 2010/07/15, 09:25:43) Python 2.6.3 (r263rc1:75186, Oct 2 2009, 20:40:30) [MSC v.1500 32 bit (Intel)] Retrieving special page...

API action:query
meta: userinfo uiprop: blockinfo

Requesting API query from wikibooks:fr Note: this language does not allow global bots. Retrieved 52 redirects from special page.

>>> Paterson <<<

API action:query
inprop: protection|talkid|subjectid|url|readable rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Paterson rvlimit: 1

Requesting API query from wikibooks:fr getting huge siprop magicwords...

API action:query
meta: siteinfo siprop: magicwords

Requesting API query from wikibooks:fr

API action:query
inprop: protection|talkid|subjectid|url|readable rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Photographie/Fabricants/Paterson rvlimit: 1

Requesting API query from wikibooks:fr Redirect target Photographie/Fabricants/Paterson does not exist. Do you want to delete Paterson? ([y]es, [N]o, [a]ll, [q]uit) y

Getting information for site wikibooks:fr

API action:query
meta: userinfo uiprop: blockinfo|groups|rights|hasmsg|ratelimits|preferencestoken

Requesting API query from wikibooks:fr

>>> Arthur d'Arazien <<< ... JackPotte 20:17, 17 July 2010 (UTC)

Bug with double
On this dictionary the bot couldn't find the destination page, probably because of the õ and/or ü into its name. JackPotte 04:20, 10 August 2010 (UTC)