Thanks Jeroen - that's a helpful read! 

I still think it would be useful to be able to specify an ID for an entity at creation time through the API, either as a Q/P/L/etc ID, or some external ID. Looking forward to hearing from more folks!


On Sun, Dec 27, 2020 at 11:06 AM Jeroen De Dauw <> wrote:
Dear Erik,

It is already possible to export and import Wikibase items via the main export and importing mechanism provided by MediaWiki. This process retains the IDs. I have created a little guide at I did not address creation of new items/properties after such an import yet, so beware that an extra step might be needed.

I agree with you that it is useful to retain IDs. My company is helping the German National Library with importing their GND dataset into Wikibase. ID stability is important in this project. What's more, since the GND already has IDs, ideally these would be used, rather than new Q-IDs. IDs in different formats are not supported by Wikibase yet, but hopefully it is not too difficult to implement, as it seems rather useful for many projects. I'll be looking into this soon.


Jeroen De Dauw | Technical Director Professional.Wiki
We are MediaWiki, Wikibase and Semantic MediaWiki experts.
Professional.Wiki - Jeroen De Dauw & Karsten Hoffmeyer GbR
Tieckstraße 24-25, 10115 Berlin | +49 (30) 55 87 42 65 | USt-IdNr. DE322440293
Wikidata mailing list