Browse Source

new post

master
Ben Kurtovic 12 years ago
parent
commit
81ae4ab3f7
1 changed files with 28 additions and 0 deletions
  1. +28
    -0
      _posts/2011-08-23-earwigbot-progress-page-editing.md

+ 28
- 0
_posts/2011-08-23-earwigbot-progress-page-editing.md View File

@@ -0,0 +1,28 @@
---
layout: post
title: EarwigBot Progress: Page Editing
description: Exactly what it says on the tin.
---

Because of [this](http://git.io/Nw-rLQ), doing this:

{% highlight pycon %}

>>> import wiki
>>> site = wiki.get_site()
>>> page = site.get_page("User:EarwigBot/Sandbox")
>>> page.edit("I can has content?", "BOT: Testing new framework", minor=True)
>>>

{% endhighlight %}

...produces
[this](http://en.wikipedia.org/w/index.php?title=User%3AEarwigBot%2FSandbox&diff=prev&oldid=446401978).
Clearly a MASSIVE DEVELOPMENT.

After 5,800 lines of code, 54 files, and over 200 commits, EarwigBot can
actually edit Wikipedia!

Yay!

:—earwig

Loading…
Cancel
Save