Bugs item #3610073, was opened at 2013-04-05 03:25 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3610073...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: other Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: isDisambig() does not work for some pages
Initial Comment: Following code returns "False". For "Anemone (disambiguation)", it returns True.
----------------------------------------------------------------------------------------------- import pywikibot site = pywikibot.getSite('en') page = pywikibot.Page(site, u'Missouri (disambiguation)') print page.isDisambig() --------------------------------------------------------------------------------------------------- $ python version.py Pywikipedia [http] trunk/pywikipedia (r11339, 2013/04/04, 17:30:35, ok) Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14) [GCC 4.5.2] config-settings: use_api = True use_api_login = True unicode test: ok ---------------------------------------------------------------------------------------------------
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-04-06 06:49
Message: fixed in r11347
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3610073...
pywikipedia-bugs@lists.wikimedia.org