1 Nov 2006 16:40
pywikipedia wikipedia.py,1.758,1.759
Andre Engels <a_engels <at> users.sourceforge.net>
2006-11-01 15:40:02 GMT
2006-11-01 15:40:02 GMT
Update of /cvsroot/pywikipediabot/pywikipedia
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8035
Modified Files:
wikipedia.py
Log Message:
Important bugfix in adding interwikis when there is an <includeonly> on the page. Everyone using
interwiki.py is advised to update to this version immediately!
Index: wikipedia.py
===================================================================
RCS file: /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v
retrieving revision 1.758
retrieving revision 1.759
diff -C2 -d -r1.758 -r1.759
*** wikipedia.py 24 Oct 2006 12:48:07 -0000 1.758
--- wikipedia.py 1 Nov 2006 15:40:00 -0000 1.759
***************
*** 1,3 ****
-
# -*- coding: utf-8 -*-
"""
--- 1,2 ----
***************
*** 2139,2144 ****
pass
# Is there any text in the 'after' part that means we should keep it after?
! if "</noinclude>" in s2[firstafter:]:
! newtext = s2[:firstafter+1] + s + s2[firstafter+1:]
elif site.language() in site.family.categories_last:
(Continue reading)
RSS Feed