Manual:Pywikibot/illustrate wikidata.py/ru

'illustrate_wikidata.py' — это скрипт, используемый для создания одного или двух пользовательских файлов.

The image is extracted from the page_props page property. For this to be available the extension needs to be installed. On Wikimedia wikis PageImages extension is installed.

Концепция
Illustrate Wikidata bot uses the information from page_props to add a claim to Wikidata. By default P18 (image) is used, but it's also possible to add other properties as long as the property is of type commonsMedia.

Использование
The bot expects a :

You can change the property to be added. For example, to add P41 (flag image):