jayvdb created this task.
jayvdb added projects: MediaWiki-Export-or-Import, MediaWiki-extensions-WikibaseRepository, Flow.
Herald added subscribers: TTO, Aklapper.
Herald added projects: Collaboration-Team-Triage, Wikidata.

TASK DESCRIPTION

As an alternative to T143687: Allow setting target namespace in importDump.php , wikibase items can only be placed in one namespace on the target wiki.

The scenario is that is very common for wikibase installations to place items in a namespace named Item: that isnt namespace 0. It is described in the Extension page.

Importing Property pages from Wikidata into a wikibase installation occurs without problem, provided the target namespace name is Property. The namespace number can differ.

However, importing from source namespace 0 has no namespace name, so that doesnt provide the importer any way to 'guess' the correct target namespace is the Item: namespace.

However, there is typically/only one target namespace which can hold wikibase-item pages, so that could be used as a way to automatically map the pages from the source namespace 0 to the target namespace Item:.

This mapping is contained in $wgNamespaceContentModels.

I see Flow also uses $wgNamespaceContentModels and could benefit from this import feature.
There may be other extensions using this, but I cant find them in MediaWiki.org


TASK DETAIL
https://phabricator.wikimedia.org/T143848

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, TTO, jayvdb, EnricoCNC, D3r1ck01, Izno, SBisson, Wikidata-bugs, aude, Gryllida, jeblad, Catrope, Mbch331, Quiddity
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to