Editing a wiki

Paul Rubin http
Wed Aug 19 03:07:25 CEST 2009


KillSwitch <gu.yakahughes at gmail.com> writes:
> Is it possible to edit a wiki page with python, including logging in
> to edit the page, and inserting text into the edit box, etc.

If you are talking about MediaWiki (the software behind Wikipedia),
it already has an API for which there are several Python clients.
See:

   http://www.mediawiki.org/wiki/API
   http://www.mediawiki.org/wiki/API:Client_Code

If you are looking to use Python (or any other language) to
automatically edit Wikipedia itself, you need approval for that.
See:

  http://en.wikipedia.org/wiki/Wikipedia:Bot_policy



More information about the Python-list mailing list