Revision: 7839 Author: xqt Date: 2009-12-28 17:30:12 +0000 (Mon, 28 Dec 2009)
Log Message: ----------- revert r7835: page must be preloaded for this test
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-12-28 17:19:09 UTC (rev 7838) +++ trunk/pywikipedia/interwiki.py 2009-12-28 17:30:12 UTC (rev 7839) @@ -1924,9 +1924,10 @@ if page.isTalkPage(): pywikibot.output(u'Skipping: %s is a talk page' % page.title()) continue - if page.isEmpty(): - pywikibot.output(u'Skipping: %s is a empty page' % page.title()) - continue + #doesn't work: page must be preloaded for this test + #if page.isEmpty(): + # pywikibot.output(u'Skipping: %s is a empty page' % page.title()) + # continue if page.namespace() == 10: loc = None try:
pywikipedia-svn@lists.wikimedia.org