Manual talk:Pywikibot/wikitext

Add topic
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of (even if they share the same username).
Stop hand.svg This page is for discussion of the associated page "Pywikibot/wikitext" only. Questions or comments regarding Pywikipedia itself should be posted to the Pywikipedia mailing list (archives); bug reports should be posted to the Pywikipedia bug tracking system. For any other comments related to Pywikipedia itself, see the Pywikipedia sourceforge page.


As this is becoming more and more textbook-like, I'd like to import it to Wikibooks, where it can be integrated and linked with other texts, such as Linux Guide, which will be very helpful to readers.  — Mike.lifeguard | @en.wb 15:09, 22 January 2010 (UTC)[reply]

It should go somewhere else, that's for sure. If not Wikibooks, maybe Wikiversity or Meta-wiki needs to be depopulated of stuff that applies to MediaWiki installations in general (rather than just Wikimedia projects). Also, isn't the name "Pywikipediabot" kinda misleading, since it can be used on other wikis? Tisane 22:13, 8 April 2010 (UTC)[reply]
Yes, I'll be renaming it to "Pywikibot"  — mikelifeguard@meta:~$  01:54, 22 May 2010 (UTC)[reply]
As the pywikibot is in Wikimedia SVN (and therefore pertains more closely to the MediaWiki software than to the encylcopædia collection itself) it would appear that {{MoveToMediaWiki}} is the most suitable fate for this. I've updated the templating accordingly. --Carlb 20:17, 26 June 2010 (UTC)[reply]
It may be a moot point, as Mike.lifeguard moved it to b:Pywikibot. Adrignola 18:35, 27 June 2010 (UTC)[reply]
often the technically correct name is trumped by the most used name. PyWikipediaBot is in fact the most commonly used name, therefore I feel it should remain PyWikipediaBot. Adamtheclown 18:36, 15 November 2010 (UTC)[reply]

Login issuesEdit

When trying to login ( I am asked for the password for the relevant user. I supply this. It then asks for the CAPTCHA solution. I enter this. It then tells me that Login failed. Obvious answer is I am entering one or the other incorrectly. However, I have tried many times. I have changed my password on the wiki and then retried. Same result. Am I coming up against a known issue? Apart from entering wrong answers, which I am sure I am not doing, is there another reason that I cannot log in? 08:58, 5 May 2010 (UTC)[reply]

Have you tried updating the framework to the latest version? --Mercy 09:00, 5 May 2010 (UTC)[reply]
I have not...In fact mine is at least 18 months think that might be the issue? 10:04, 5 May 2010 (UTC)[reply]
I have new version now. However still issues. I get the following:
 Traceback (most recent call last):
 File "C:\pywikipedia\", line 436, in <module>
 File "C:\pywikipedia\", line 432, in main
 File "C:\pywikipedia\", line 319, in login
   cookiedata = self.getCookie(api)
 File "C:\pywikipedia\", line 181, in getCookie
   response, data = query.GetData(predata,, sysop=self.sysop, back_re
 sponse = True)
 File "C:\pywikipedia\", line 122, in GetData
   res, jsontext = site.postForm(path, params, sysop, site.cookies(sysop = syso
 p) )
 File "C:\pywikipedia\", line 4936, in postForm
 File "C:\pywikipedia\", line 4990, in postData
   raise PageNotFound(u'Page %s could not be retrieved. Check your family file
 ?' % url)
 pywikibot.exceptions.PageNotFound: Page
 hp could not be retrieved. Check your family file ?

When I check both the Index.php and the api.php files two things are apparent. First, they are at: and

respectively (i.e. not w/index.php)

and second, neither of them have content. Whereas if you were to check it is the MainPage (and does nto exist).

Does anyone know what I need to do from here? 11:38, 5 May 2010 (UTC)[reply]

Login problemEdit

I have a problem with my bot , when I am asked for the password I put it correctly , it returns with wrong password CAPTCHA answer , I have downloaded up to date versions and the , still getting Login failed. Wrong password or CAPTCHA answer. I would be very grateful for any help.--Ghaly 06:43, 5 June 2010 (UTC)[reply]

I'm getting this too, and would be grateful for a solution. Olaf Davis 21:08, 7 June 2010 (UTC)[reply]
Er, not that this is the right place to ask for one... Olaf Davis 21:11, 7 June 2010 (UTC)[reply]

redirecting all script talk pages and textbook talk pages to this page?Edit

I think in the case of talk pages, everything being in one place is the best. Adamtheclown 18:37, 15 November 2010 (UTC)[reply]

All subpages of this pageEdit

Special:PrefixIndex/Pywikipediabot. Adamtheclown 18:39, 15 November 2010 (UTC)[reply]

All the subpages and talk subpages that exist follow, in a dynamic list. I need some help at Talk:Pywikipediabot/   — Jeff G. ツ 03:47, 4 April 2011 (UTC)[reply]


Talk subpagesEdit

The Azerbaijanians alphabetEdit

During operation, when typing on "cmd.exe" is a problem only with the letters "ə" and "Ə" (letters of the alphabet in Azerbaijan). How can I solve this problem? Sincerely, Vago 15:51, 30 May 2011 (UTC)[reply]

This has apparently movedEdit

Apparently last year sometime some of the pywikipedia bot pages were copied to mediawiki without any discussion or notice apparent here. See e.g. mw:Pywikipediabot. Pywikipediabot is maintained on mediawiki, so it's probably the better place. But this isn't the normal way to migrate pages and only some of them were moved. Fortunately, not a lot of changes have been made, but some have. We need to compare and replace the pages here with the redirects/tags. Also, we need to figure out what to do about the references to the non-English versions. None are referenced on mw.--Doug.(talk contribs) 20:44, 16 November 2011 (UTC)[reply]

A lot more changes were made here than I thought, fortunately not so many at mw. There was discussion above and some content was already moved but only a handful of pages. Some content was also moved to wikibooks but not all and it's that project's decision whether to duplicate the official documentation. Several developers here and at mw are in agreement (see comments above and page history of reversions of the {{moveToMediaWiki}} additions and removals, as well as my clear statement of intent at my request on MW, additionally, comments from devs on irc supported that this needs to be at mw. Thus I'm moving all the pages to their corresponding page names at MW, beginning immediately.--Doug.(talk contribs) 10:54, 4 December 2011 (UTC)[reply]

This duplicates meta:Pywikipediabot (which seems much more complete, esp meta:Pywikipediabot/Scripts). Seems obvious that one should be a soft redirect to the other. --Chriswaterguy 15:24, 22 January 2011 (UTC)[reply]

Migration to mwEdit

I'm reimporting all the pages that are here as they have been edited on meta. A few have been edited here as well and thus have merger issues to be resolved, I list them below. Unlike prior migration I will migrate all of the pages and replace the pages on meta with redirects to here. However, this may take me several days.--Doug 18:34, 4 December 2011 (UTC)[reply]



  • All pages that were previously imported have been reimported.
  • All pages that were reimported have been tagged on meta with {{MovedToMediaWiki}}
  • Moving pages here to Manual, see below, before migrating the rest to avoid further confusion.

Move to ManualEdit

Moving these pages all to [[Manual:|Manual namespace]] to be consistent with other tools before I import the rest of the pages


This is very complicated for me. I downloaded Python and package/pywikipedia/, but I'm still very confused. The IRC channel isn't helping. The tutorials aren't. WP Randomno (talk) 16:11, 26 April 2012 (UTC)[reply]

need helpEdit

I am trying to setup Pywikipediabot to work with my wiki ( and am having trouble. Is there anyone who can help me? --Zackmann08 (talk) 18:46, 26 June 2012 (UTC)[reply]

Return to "Pywikibot/wikitext" page.