Wikidata properties for a fresh Wikibase

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Wikidata properties for a fresh Wikibase

Susanna Ånäs-2
Can you advice how to create equivalent properties to a fresh Wikibase as
exist in Wikidata? Everything cannot be replicated, but having equivalent
IDs would be positive, and as much related information as possible.

Best
Susanna
_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: Wikidata properties for a fresh Wikibase

Matthew Flaschen-2
On 06/20/2017 09:32 AM, Susanna Ånäs wrote:
> Can you advice how to create equivalent properties to a fresh Wikibase as
> exist in Wikidata? Everything cannot be replicated, but having equivalent
> IDs would be positive, and as much related information as possible.

After you set:

$wgWBRepoSettings['allowEntityImport'] = true;

you can just import specific (or all) properties from an XML dump (e.g.
from https://www.wikidata.org/wiki/Special:Export or the dumps).

That will preserve the ID.

Matt

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l