A WebCitation.org bot for Wikipedia
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
webcite
README.md
webcite.py

README.md

A webcitation.org bot for en.wikipedia.org

  • Written by Legoktm
  • Source code released under the MIT License

Implementation

  • An IRC bot sits in #wikipedia-en-spam (webcite/irc.py)
  • Stores new links in new_links (webcite/db.py)
  • Verifies that the link still exists after 48 hours (webcite/bot.py)
  • Archives the link with webcitation.org (webcite/citationdotorg.py)
  • Updates the article page with a link to the archive (webcite/bot.py)

Dependencies

Thanks

  • rmdashrf for assistance with MySQL and other matters
  • nosklo for an amazing URL matching regex

Branches

  • master - current development branch
  • python27 - Using Pywikibot/Python2.7 syntax. Contains many bugs fixed in master
  • py3k - old transition branch, outdated