Revision: 5082
Author: filnik
Date: 2008-02-26 16:11:50 +0000 (Tue, 26 Feb 2008)
Log Message:
-----------
Seems that devs want to be killed by me :P The format has changed again, really dunno why.
Supporting also this format hoping that's the last change.
Modified Paths:
--------------
trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py
===================================================================
--- trunk/pywikipedia/welcome.py 2008-02-25 23:25:20 UTC (rev 5081)
+++ trunk/pywikipedia/welcome.py 2008-02-26 16:11:50 UTC (rev 5082)
@@ -383,7 +383,7 @@
# and i put them in a list (i find it more easy and secure).
while 1:
# FIXME: That's the regex, if there are problems, take a look here.
- reg = r'\(<a
href=\"/w/index.php\?title=%s(?P<user>.*?)&(?:amp;|)action=(?:edit|editredlink)\"'
% talk
+ reg = r'\(<a
href=\"/w/index.php\?title=%s(?P<user>.*?)&(?:amp;|)action=(?:edit|editredlink|edit&redlink=1)\"'
% talk
p = re.compile(reg, re.UNICODE)
x = p.search(raw, pos)
if x == None: