diff options
Diffstat (limited to 'src/wikiget/validations.py')
| -rw-r--r-- | src/wikiget/validations.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wikiget/validations.py b/src/wikiget/validations.py index c9e7bcf..6926f06 100644 --- a/src/wikiget/validations.py +++ b/src/wikiget/validations.py @@ -43,8 +43,10 @@ def valid_site(search_string: str) -> Optional[re.Match]: """ Determines if the given string contains a valid site name, defined as a string ending with 'wikipedia.org' or 'wikimedia.org'. This covers all subdomains of those - domains. Eventually, it should be possible to support any MediaWiki site, regardless - of domain name. + domains. + + Currently unused since any site is accepted as input, and we rely on the user to + ensure the site has a compatible API. :param search_string: string to validate :type search_string: str |
