[Pywikipedia-l] SVN: [6250] trunk/pywikipedia/wikipedia.py
valhallasw at svn.wikimedia.org
valhallasw at svn.wikimedia.org
Mon Jan 12 19:47:26 UTC 2009
Revision: 6250
Author: valhallasw
Date: 2009-01-12 19:47:25 +0000 (Mon, 12 Jan 2009)
Log Message:
-----------
Interwiki bugfix for bug introduced in r6249
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2009-01-12 13:44:28 UTC (rev 6249)
+++ trunk/pywikipedia/wikipedia.py 2009-01-12 19:47:25 UTC (rev 6250)
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
"""
Library to get and put pages on a MediaWiki.
@@ -3643,7 +3643,7 @@
s = []
for site in ar:
try:
- link = links[site].aslink(forceInterwiki=True)
+ link = links[site].aslink(forceInterwiki=True).replace('[[:', '[[')
s.append(link)
except AttributeError:
s.append(getSite(site).linkto(links[site], othersite=insite))
More information about the Pywikipedia-l
mailing list