Perfect thank you (for some reason I did not success, I see the names are case sensitives :) )


2014-06-12 17:59 GMT+02:00 Markus Krötzsch <markus@semantic-mediawiki.org>:
[Including Yaron, the Miga developer, who is not on this list yet]


On 12/06/14 17:21, Thomas Douillard wrote:
Hi Markus, first thanks a lot for these tools.

It would be cool to include a link to the property browser into some
template, ( Template:P' for example , as Template:Q' generates a link to
reasonator. Is there a way to get the database id of some property by
its number ?

The internal IDs of Miga are no good for linking, since they depend on the list of items and thus might change with updates. However, the following work:

http://tools.wmflabs.org/wikidata-exports/miga/#_cat=Properties/Id=P31

http://tools.wmflabs.org/wikidata-exports/miga/?classes#_cat=Classes/Id=Q39715

Etc.

A nice feature in Miga is that all queries work, even if they are not clickable through the UI. If you look at the URL you get after some clicking, it is easy to see how to change it to get other results.

Cheers,

Markus


_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l