https://bugzilla.wikimedia.org/show_bug.cgi?id=54868
Web browser: --- Bug ID: 54868 Summary: isDisambig results in AttributeError Product: Pywikibot Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: major Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: themineo+wikibz@gmail.com Classification: Unclassified Mobile Platform: ---
In [1]: import pywikibot In [2]: s = pywikibot.Site("et", "wikipedia") In [3]: p = pywikibot.Page(s, "Hannes Varblane") In [4]: p.isDisambig() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-4-af3848c4be35> in <module>() ----> 1 p.isDisambig()
/home/wieland/dev/pywikibot-core/pywikibot/page.pyc in isDisambig(self, get_Index) 569 if self.site.hasExtension('Disambiguator', False): 570 # If the Disambiguator extension is loaded, use it --> 571 return 'disambiguation' in self.properties() 572 573 if not hasattr(self.site, "_disambigtemplates"):
/home/wieland/dev/pywikibot-core/pywikibot/page.pyc in properties(self, force) 379 if not hasattr(self, '_pageprops') or force: 380 self.site.loadpageprops(self) --> 381 return self._pageprops 382 383 def defaultsort(self, force=False):
AttributeError: 'Page' object has no attribute '_pageprops'
» git describe --always --dirty a987c8e-dirty
(Dirty here refers to the submodules having been updated)
This is obviously using the core branch.