Hi, pywikibot experts,
I've read through this ticket(
https://www.mail-archive.com/pywikibot@lists.wikimedia.org/msg00186.html)
for creating a new property using site._simple_request(**argv) api call, I
wonder how I can delete a property using a similar way?
for example code like this way:
params = {
'action': 'delete',
'id': 'P10',
'summary': 'bot remove',
'token': site.tokens['delete']
}
req = site._simple_request(**params)
results = req.submit()
print (results)
I've searched the actions by wikimedia API:
https://www.wikidata.org/w/api.php?action=help, It seems there's no action
for delete property, any idea?
--
Regards,
Mosha