SuLab / WikidataIntegrator

A Wikidata Python module integrating the MediaWiki API and the Wikidata SPARQL endpoint
MIT License
244 stars 46 forks source link

Rework delete_items to use mediawiki API action=delete. #131

Closed LeMyst closed 4 years ago

LeMyst commented 4 years ago

This is a breaking change, the function become delete_item() instead of delete_items(), and now take a unique QID instead of a list. The user need to have "delete"/"administrator" rights to perform the action.

LeMyst commented 4 years ago

@andrawaag Does I use the WDUSER and WDPASS to create a WDLogin object and pass it to the delete_item? And if no WDUSER/WDPASS provided, I dont do the test?