http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9048
Revision: 9048 Author: xqt Date: 2011-03-13 11:29:45 +0000 (Sun, 13 Mar 2011) Log Message: ----------- stripped trailing whitespace
Modified Paths: -------------- trunk/pywikipedia/pywikibot/textlib.py
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2011-03-13 11:28:42 UTC (rev 9047) +++ trunk/pywikipedia/pywikibot/textlib.py 2011-03-13 11:29:45 UTC (rev 9048) @@ -273,14 +273,14 @@ # A family has by definition only one kind of interlanguage links: # 1 - interlanguage links inside the own family. # They go to a corresponding page in another language in the same -# family, such as from 'en.wikipedia' to 'pt.wikipedia', or from +# family, such as from 'en.wikipedia' to 'pt.wikipedia', or from # 'es.wiktionary' to 'arz.wiktionary'. # Families with this kind have several language-specific sites. # They have their interwiki_forward attribute set to None # 2 - language links forwarding to another family. # They go to a corresponding page in another family, such as from # 'commons' to 'zh.wikipedia, or from 'incubator' to 'en.wikipedia'. -# Families having those have one member only, and do not have +# Families having those have one member only, and do not have # language-specific sites. The name of the target family of their # interlanguage links is kept in their interwiki_forward attribute. # These functions only deal with links of these two kinds only. They @@ -1042,7 +1042,7 @@ code = code.lang
# If xdict attribute is wikipedia, define the xdite had multiple projects - if 'wikipedia' in xdict: + if 'wikipedia' in xdict: if pywikibot.default_family in xdict: xdict = xdict[pywikibot.default_family] else:
pywikipedia-svn@lists.wikimedia.org