russblau created this task. russblau added a subscriber: russblau. russblau added a project: Pywikibot-General. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION The following error occurs when attempting to call .getCategoryRedirectTarget() on a page that is not a category redirect:
import pywikibot s = pywikibot.Site() c = pywikibot.Category(s, "Category:Knowsley United F.C. players") c.isCategoryRedirect()
False
t = c.getCategoryRedirectTarget()
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/shared/pywikipedia/rewrite/pywikibot/page.py", line 679, in getCategoryRedirectTarget raise pywikibot.IsNotRedirectPage(self.title()) File "/shared/pywikipedia/rewrite/pywikibot/exceptions.py", line 106, in __init__ self.title = page.title(asLink=True) TypeError: title() takes no keyword arguments
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: russblau Cc: pywikipedia-bugs, russblau, Aklapper
russblau edited the task description. russblau set Security to none.
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: russblau Cc: pywikipedia-bugs, russblau, Aklapper
gerritbot added a subscriber: gerritbot. gerritbot added a project: Patch-For-Review. gerritbot added a comment.
Change 186612 had a related patch set uploaded (by Mpaa): Fix IsNotRedirectPage exception in Page.getCategoryRedirectTarget()
https://gerrit.wikimedia.org/r/186612
https://phabricator.wikimedia.org/tag/patch-for-review/
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, russblau, Aklapper, pywikipedia-bugs
gerritbot added a comment.
Change 186612 merged by jenkins-bot: Fix IsNotRedirectPage exception in Page.getCategoryRedirectTarget()
https://gerrit.wikimedia.org/r/186612
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, russblau, Aklapper, pywikipedia-bugs
jayvdb assigned this task to Mpaa. jayvdb added a subscriber: jayvdb.
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa, jayvdb Cc: jayvdb, gerritbot, russblau, Aklapper, pywikipedia-bugs
jayvdb closed this task as "Resolved".
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa, jayvdb Cc: jayvdb, gerritbot, russblau, Aklapper, pywikipedia-bugs
Mpaa removed a project: Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: jayvdb, gerritbot, russblau, Aklapper, pywikipedia-bugs
Ricordisamoa added a subscriber: Ricordisamoa.
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa, Ricordisamoa Cc: Ricordisamoa, jayvdb, gerritbot, russblau, Aklapper, pywikipedia-bugs
Mpaa edited projects, added pywikibot-core; removed Pywikibot-General.
TASK DETAIL https://phabricator.wikimedia.org/T87505
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: Ricordisamoa, jayvdb, gerritbot, russblau, Aklapper, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org