get_available_badges#
- wikibaseintegrator.wbi_helpers.get_available_badges(allow_anonymous=True, **kwargs)[source]#
Get the items which can be used as badges of sitelinks (e.g. ‘Q17437796’, featured article, on Wikidata), with the wbavailablebadges API. Each Wikibase instance configures its own list of badges, which can be empty. A sitelink with another item as badge can’t be saved.