On Mon, Jul 14, 2008 at 12:01 PM, balasyum@svn.wikimedia.org wrote:
Revision: 5712 Author: balasyum Date: 2008-07-14 10:01:28 +0000 (Mon, 14 Jul 2008)
Log Message:
Adding a script that displays the ordinal number of new articles
Added Paths:
trunk/pywikipedia/articlenos.py
Added: trunk/pywikipedia/articlenos.py
--- trunk/pywikipedia/articlenos.py (rev 0) +++ trunk/pywikipedia/articlenos.py 2008-07-14 10:01:28 UTC (rev 5712) @@ -0,0 +1,81 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- +""" +A script that displays the ordinal number of the new articles being created as visible on the Recent Changes list. +The script doesn't make any edits, no bot account needed. +"""
+# Author: Balasyum +# http://hu.wikipedia.org/wiki/User:Balasyum +# License : GFDL
+from ircbot import SingleServerIRCBot +from irclib import nm_to_n, nm_to_h, irc_lower, ip_numstr_to_quad, ip_quad_to_numstr +import wikipedia +import re
Note that irclib is LGPL software which is incompatible with the GFDL. It may however be possible to invoke the library clause of the LGPL, but I wouldn't be sure about that. I suggest that you change the license to LGPL.
Bryan