http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11014
Revision: 11014
Author: xqt
Date: 2013-01-29 08:38:24 +0000 (Tue, 29 Jan 2013)
Log Message:
-----------
initialize 'namespacesWithSubpage' for the generic family file,
bugfix for bug #3602373
Modified Paths:
--------------
branches/rewrite/pywikibot/family.py
Modified: branches/rewrite/pywikibot/family.py
===================================================================
--- branches/rewrite/pywikibot/family.py 2013-01-28 20:55:48 UTC (rev 11013)
+++ branches/rewrite/pywikibot/family.py 2013-01-29 08:38:24 UTC (rev 11014)
@@ -106,6 +106,8 @@
self.langs = {}
+ self.namespacesWithSubpage = [2] + range(1, 16, 2)
+
# letters that can follow a wikilink and are regarded as part of
# this link
# This depends on the linktrail setting in LanguageXx.php and on