Re: [Wikidata] Deleting properties / items in test.wikidata.org

2016-09-16 Thread Loic Dachary
On 16/09/2016 15:54, Markus Kroetzsch wrote: > Hi, > > I don't think you need to worry at all about cluttering test.wikidata.org. I > guess it is purged regularly anyway. Ok then, fine with me :-) > Best, > > Markus > > On 14.09.2016 20:32, Legoktm wrote: >> Hi, >> >> On 09/08/2016 08:54 AM

Re: [Wikidata] Deleting properties / items in test.wikidata.org

2016-09-16 Thread Markus Kroetzsch
Hi, I don't think you need to worry at all about cluttering test.wikidata.org. I guess it is purged regularly anyway. Best, Markus On 14.09.2016 20:32, Legoktm wrote: Hi, On 09/08/2016 08:54 AM, Loic Dachary wrote: Hi, But I was not able to figure out how to remove them afterwards, to no

Re: [Wikidata] Deleting properties / items in test.wikidata.org

2016-09-14 Thread Legoktm
Hi, On 09/08/2016 08:54 AM, Loic Dachary wrote: > Hi, > > But I was not able to figure out how to remove them afterwards, to not > clutter test.wikidata.org. You would just use the normal MediaWiki API delete feature[1]. Pywikibot abstracts it as Page.delete(...). [1] https://www.mediawiki.org

Re: [Wikidata] Deleting properties / items in test.wikidata.org

2016-09-14 Thread Loic Dachary
Hi, It looks like the wikibase API[1] does not provide a way to delete an item. To remove an item / propery on http://test.wikidata.org a script would have do web scrapping and use the same interface people attending the deletion requests do[2]. Unfortunately a regular user does not seem to hav

[Wikidata] Deleting properties / items in test.wikidata.org

2016-09-08 Thread Loic Dachary
Hi, I'd like to write integration tests for https://www.wikidata.org/wiki/User:FLOSSbot and use test.wikidata.org for that. I figured out how to create properties[1] with pywikibot and search for them[2]. But I was not able to figure out how to remove them afterwards, to not clutter test.wikid