Hi,
I'd like to run integration tests using test.wikidata.org[1] and the "subclass of" property. Unfortunately it already exist ... with a datatype that is different from what wikidata.org has (wikibase-item)[2]. It does not seem to be possible to change that via the API[3]. Deleting a property does not seem possible either. asked a month ago in the thread "Deleting properties / items in test.wikidata.org".
It's not an absolute blocker: I can add code so that "subclass of" is a random string instead when test.wikidata.org is used. But before doing that and making integration tests more difficult to debug and implement, I'd like to be sure I'm not missing something.
How do you suggest I deal with this problem ?
Cheers
[1] https://phabricator.wikimedia.org/diffusion/PBFB/browse/master/tests/test_re... [2] https://test.wikidata.org/wiki/Property:P748 [3] https://www.wikidata.org/w/api.php?action=help&modules=wbeditentity
Properties don't have an identity besides their ID - so you could in test.wd just rename the subclass of property and reclaim that name.
On Tue, Oct 11, 2016 at 1:19 PM Loic Dachary loic@dachary.org wrote:
Hi,
I'd like to run integration tests using test.wikidata.org[1] and the "subclass of" property. Unfortunately it already exist ... with a datatype that is different from what wikidata.org has (wikibase-item)[2]. It does not seem to be possible to change that via the API[3]. Deleting a property does not seem possible either. asked a month ago in the thread "Deleting properties / items in test.wikidata.org".
It's not an absolute blocker: I can add code so that "subclass of" is a random string instead when test.wikidata.org is used. But before doing that and making integration tests more difficult to debug and implement, I'd like to be sure I'm not missing something.
How do you suggest I deal with this problem ?
Cheers
[1] https://phabricator.wikimedia.org/diffusion/PBFB/browse/master/tests/test_re... [2] https://test.wikidata.org/wiki/Property:P748 [3] https://www.wikidata.org/w/api.php?action=help&modules=wbeditentity -- Loïc Dachary, Artisan Logiciel Libre
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
On 11/10/2016 22:50, Denny Vrandečić wrote:
Properties don't have an identity besides their ID - so you could in test.wd just rename the subclass of property and reclaim that name.
Of course !
Thank you :-)
On Tue, Oct 11, 2016 at 1:19 PM Loic Dachary <loic@dachary.org mailto:loic@dachary.org> wrote:
Hi, I'd like to run integration tests using test.wikidata.org <http://test.wikidata.org>[1] and the "subclass of" property. Unfortunately it already exist ... with a datatype that is different from what wikidata.org <http://wikidata.org> has (wikibase-item)[2]. It does not seem to be possible to change that via the API[3]. Deleting a property does not seem possible either. asked a month ago in the thread "Deleting properties / items in test.wikidata.org <http://test.wikidata.org>". It's not an absolute blocker: I can add code so that "subclass of" is a random string instead when test.wikidata.org <http://test.wikidata.org> is used. But before doing that and making integration tests more difficult to debug and implement, I'd like to be sure I'm not missing something. How do you suggest I deal with this problem ? Cheers [1] https://phabricator.wikimedia.org/diffusion/PBFB/browse/master/tests/test_repository.py [2] https://test.wikidata.org/wiki/Property:P748 [3] https://www.wikidata.org/w/api.php?action=help&modules=wbeditentity -- Loïc Dachary, Artisan Logiciel Libre _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata