Personal website https://benkurtovic.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2011-08-23-earwigbot-progress-page-editing.md 686 B

13 vuotta sitten
13 vuotta sitten
13 vuotta sitten
13 vuotta sitten
1234567891011121314151617181920212223242526272829
  1. ---
  2. layout: post
  3. title: EarwigBot Progress: Page Editing
  4. tags: ["Wikipedia", "Status report"]
  5. description: Exactly what it says on the tin
  6. ---
  7. Because of [this](http://git.io/Nw-rLQ), doing this:
  8. {% highlight pycon %}
  9. >>> import wiki
  10. >>> site = wiki.get_site()
  11. >>> page = site.get_page("User:EarwigBot/Sandbox")
  12. >>> page.edit("I can has content?", "BOT: Testing new framework", minor=True)
  13. >>>
  14. {% endhighlight %}
  15. ...produces
  16. [this](//en.wikipedia.org/w/index.php?title=User%3AEarwigBot%2FSandbox&diff=prev&oldid=446401978).
  17. Clearly a MASSIVE DEVELOPMENT.
  18. After 5,800 lines of code, 54 files, and over 200 commits, EarwigBot can
  19. actually edit Wikipedia!
  20. Yay!
  21. : —earwig