Manual:Pywikibot/claimit.py

claimit.py is a script to mass add  claims to a lot of items based on pages on Wikipedia.

Concept
A category or template on Wikipedia gives information about what kind of page it is. For example if it contains a person infobox, it's probably a person. Or as another example: If a page is in a certain taxonomic family category, it's probably in that family. Based on this information you can instruct the bot to add wd-claims>:d:Wikidata:Glossary#Claim|claims.

Syntax
The bot expects a man-pggen>Special:MyLanguage/Manual:Pywikibot/Page Generators|generator and pairs of wd-prop>d:Special:MyLanguage/Wikidata:List of properties|property and wd-glossary>d:Special:MyLanguage/Wikidata:Glossary#Item|item:

A concrete example: