MissingExtensionError#

exception wikibaseintegrator.wbi_exceptions.MissingExtensionError(error_dict, extension, response=None)[source]#

Bases: NonExistentEntityError

Raised when a request needs a MediaWiki extension the Wikibase instance doesn’t provide, e.g. the lexemes of the WikibaseLexeme extension. The extension is either not installed or installed without its repository part.

It inherits from NonExistentEntityError: the requested entity type doesn’t exist on the instance.

Parameters:
  • error_dict (dict[str, Any]) – The ‘error’ part of the API response

  • response (dict[str, Any] | None, default: None) – The whole API response, which can contain more than the error (e.g. the results of the values parsed by wbparsevalue)

extension: str#