wikitools.semantic_search and wikitools.prefix_search require a mwclient.Site object as argument "site", but only the protected "_site" attribute of WtSite objects is sufficient and not passing the WtSite object itself. This should be fixed so that no protected attribute needs to be accessed.
wikitools.semantic_search and wikitools.prefix_search require a mwclient.Site object as argument "site", but only the protected "_site" attribute of WtSite objects is sufficient and not passing the WtSite object itself. This should be fixed so that no protected attribute needs to be accessed.
Example: