소스 검색

new post

master
Ben Kurtovic 12 년 전
부모
커밋
81ae4ab3f7
1개의 변경된 파일28개의 추가작업 그리고 0개의 파일을 삭제
  1. +28
    -0
      _posts/2011-08-23-earwigbot-progress-page-editing.md

+ 28
- 0
_posts/2011-08-23-earwigbot-progress-page-editing.md 파일 보기

@@ -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

불러오는 중...
취소
저장