Page MenuHomePhabricator

Use more specific error in BaseLink.ns_title
Open, Needs TriagePublic


Xqt: Isn't this an invalid title then? So InvalidTitle can be used.

When Link/BaseLink.ns_title is called with an invalid namespace (for the provided site) a pywikibot.Error: no corresponding namespace is found in onsite is raised.

Investigate if there is a more appropriate Error type, e.g. InvalidTitle

This was one of the review comments from gerrit:442168