Write API enabled on Wikimedia sites!

Brion announced that the MediaWiki’s ‘write’ API has been enabled for Wikimedia wikis. This means you can now edit Wikipedia and her friends without opening your browser. :)

Using Bryan’s quite excellent mwclient Python module, you can login, view a page’s current content, make your change and then view it in less than 10 lines. Really: see for yourself. (My password is not ‘password’ BTW. :)) In theory it could be one line less, since you shouldn’t need to log in. But for some reason mwclient gave me a LoginError when I tried to do it without logging in.

Check it!

There is probably also nice wrapper modules already written for your favourite language.

What kind of imaginative interfaces for editing Wikipedia can you imagine existing? Now we can build them! :)

26 August, 2008 • ,

Comment

1

Well I just realised I should have changed the text of my edit after I had to log in. Oh well. ;)

pfctdayelise · 26. August 2008, 22:44

2

Awesome. I’ve been waiting for this for a long time. This is really awesome.

Benjamin Mako Hill · 27. August 2008, 00:43

Elsewhere on the web...

Commenting is closed for this article.

list of all posts, ever

find articles by tag

monthly archive

most popular articles

  1. NLA Innovative Ideas Forum audio/video now available
  2. [guest] Rethinking the Top Ten
  3. How to use Gmail to manage high-traffic mailing lists
  4. Write API enabled on Wikimedia sites!
  5. An alternative term for "User-generated content"
  6. Free MediaWiki hosting offered by Dreamhost Apps
  7. Top 10 software extensions Wikimedia Commons needs in 2008
  8. Reflections on PGIP phase 1
  9. GLAM-WIKI, day one
  10. NaBloPoMo

(from the last 30 days)