Revision: 6783
Author: nicdumz
Date: 2009-05-01 08:59:42 +0000 (Fri, 01 May 2009)
Log Message:
-----------
aslink() -> aslink(True) to show langcodes
( #2778428 : language codes in interwiki.log )
Modified Paths:
--------------
trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py
===================================================================
--- trunk/pywikipedia/interwiki.py 2009-05-01 05:00:58 UTC (rev 6782)
+++ trunk/pywikipedia/interwiki.py 2009-05-01 08:59:42 UTC (rev 6783)
@@ -1135,7 +1135,7 @@
elif globalvar.autonomous and duplicate:
wikipedia.output(u"Stopping work on %s because duplicate pages"\
- " %s and %s are found" % (self.originPage.aslink(),
+ " %s and %s are found" % (self.originPage.aslink(True),
duplicate.aslink(True),
page.aslink(True)))
self.makeForcedStop(counter)
@@ -1177,7 +1177,7 @@
if prevPage != linkedPage and prevPage.site() == lpsite:
# Still, this could be "no problem" as either may be a
# redirect to the other. No way to find out quickly!
- wikipedia.output(u"NOTE: %s: %s gives duplicate interwiki on same site %s" % (self.originPage.aslink(), page.aslink(True), linkedPage.aslink(True)))
+ wikipedia.output(u"NOTE: %s: %s gives duplicate interwiki on same site %s" % (self.originPage.aslink(True), page.aslink(True), linkedPage.aslink(True)))
break
else:
if config.interwiki_shownew:
Revision: 6782
Author: nicdumz
Date: 2009-05-01 05:00:58 +0000 (Fri, 01 May 2009)
Log Message:
-----------
mediawiki-messages/ folder was used by an old mediawiki-messages.py script
which is now obsolete.
Removed Paths:
-------------
trunk/pywikipedia/mediawiki-messages/
Revision: 6781
Author: nicdumz
Date: 2009-05-01 04:30:13 +0000 (Fri, 01 May 2009)
Log Message:
-----------
Documentation fix: theses line -> these lines
Modified Paths:
--------------
trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py
===================================================================
--- trunk/pywikipedia/interwiki.py 2009-04-30 22:35:53 UTC (rev 6780)
+++ trunk/pywikipedia/interwiki.py 2009-05-01 04:30:13 UTC (rev 6781)
@@ -1417,7 +1417,7 @@
StoredPage instances can get referenced cyclicly: that would stop the
garbage collector from destroying some of those objects.
- It's also not necessary to set theses line as a Subject destructor:
+ It's also not necessary to set these lines as a Subject destructor:
deleting all stored content one entry by one entry when bailing out
after a KeyboardInterrupt for example is redundant, because the
whole storage file will be eventually removed.