XZise has uploaded a new change for review. https://gerrit.wikimedia.org/r/214496
Change subject: [FIX] Page: Revert ae69d8dc in isCategoryRedirect ...................................................................... [FIX] Page: Revert ae69d8dc in isCategoryRedirect In ae69d8dc isCategoryRedirect has been accidentally changed and broken. Nothing in that method needs to be changed due to ae69d8dc. Change-Id: I489f24ad848188c4ddc3f7073f82c4e66fc1d3ad --- M pywikibot/page.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/96/214496/1 diff --git a/pywikibot/page.py b/pywikibot/page.py index 95c53e1..86290c7 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -669,7 +669,7 @@ # Get target (first template argument) try: p = pywikibot.Page(self.site, args[0].strip(), ns=14) - if p.namespace == 14: + if p.namespace() == 14: self._catredirect = p.title() else: pywikibot.warning( -- To view, visit https://gerrit.wikimedia.org/r/214496 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I489f24ad848188c4ddc3f7073f82c4e66fc1d3ad Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: XZise <commodorefabia...@gmx.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits