Revision: 4589 Author: rotem Date: 2007-11-25 12:24:46 +0000 (Sun, 25 Nov 2007)
Log Message: ----------- (bug 1837304) Don't skip a page with slash if it is in the main namespace, which usually doesn't contain subpages (anyway, if it is a featured subpage, why not adding Link FA despite it?).
Modified Paths: -------------- trunk/pywikipedia/featured.py
Modified: trunk/pywikipedia/featured.py =================================================================== --- trunk/pywikipedia/featured.py 2007-11-25 12:02:05 UTC (rev 4588) +++ trunk/pywikipedia/featured.py 2007-11-25 12:24:46 UTC (rev 4589) @@ -253,7 +253,7 @@ for a in arts: if a.title()<afterpage: continue - if u"/" in a.title(): + if u"/" in a.title() and a.namespace() != 0: wikipedia.output(u"%s is a subpage" % a.title()) continue if a.title() in cc:
pywikipedia-l@lists.wikimedia.org