manifest_url#

wikibaseintegrator.wbi_manifest.manifest_url(url=None)[source]#

The URL of the manifest, from the MediaWiki REST API of the instance (rest.php) or the URL of the manifest itself.

Parameters:

url (str | None, default: None) – The REST API URL (e.g. ‘https://wikibase.world/w/rest.php’) or the manifest URL. Use wbi_config[‘MEDIAWIKI_REST_URL’] by default.

Return type:

str

Returns:

The URL of the manifest