[Pywikipedia-bugs] [Maniphest] [Updated] T332341: getSitelink() method reports incorrect page when a page is not linked to Data repo.

2023-04-03 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T332341 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ammarpad, Maintenance_bot Cc: Xqt, matej_suchanek, Bleakprestiger, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Updated] T332341: getSitelink() method reports incorrect page when a page is not linked to Data repo.

2023-04-03 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T332341 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bleakprestiger, gerritbot Cc: Xqt, matej_suchanek, Bleakprestiger, Aklapper, pywikibot-bugs-list, Ammar

[Pywikipedia-bugs] [Maniphest] [Updated] T332341: getSitelink() method reports incorrect page when a page is not linked to Data repo.

2023-03-24 Thread matej_suchanek
matej_suchanek added a project: good first task. matej_suchanek added a comment. This is the source of the exception: if site not in self.sitelinks: raise NoPageError(self) The message is indeed confusing. We probably cannot change the class of the exception because of comp