Patches item #2787026, was opened at 2009-05-05 00:49 Message generated for change (Comment added) made by russblau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2787026...
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: rewrite Group: None
Status: Closed Resolution: Accepted
Priority: 5 Private: No Submitted By: liangent (liangent) Assigned to: Nobody/Anonymous (nobody) Summary: about getting redirects
Initial Comment: Index: pywikibot/pywikibot/page.py =================================================================== --- pywikibot/pywikibot/page.py (revision 6823) +++ pywikibot/pywikibot/page.py (working copy) @@ -372,7 +372,7 @@ """Return the current (edited) wikitext, loading it if necessary.""" if not hasattr(self, '_text') or self._text is None: try: - self._text = self.get() + self._text = self.get(get_redirect=True) except pywikibot.NoPage: # TODO: what other exceptions might be returned? self._text = u""
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-05-05 13:28
Message: Applied in r6832
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2787026...
pywikipedia-bugs@lists.wikimedia.org