Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Maintenance\ImportFederatedPropertiesSampleData Class Reference

Import data from a data file to a Federated Properties Wikibase instance For an example file format to import, see repo/tests/phpunit/data/maintenance/federatedPropertiesTestDataFile.tsv. More...

+ Inheritance diagram for Wikibase\Repo\Maintenance\ImportFederatedPropertiesSampleData:
+ Collaboration diagram for Wikibase\Repo\Maintenance\ImportFederatedPropertiesSampleData:

Public Member Functions

 __construct ()
 
 execute ()
 
 storeNewItemWithTermData (array $data, EntityStore $entityStore)
 
 getDataToImport ( $dataFileLocation)
 

Detailed Description

Import data from a data file to a Federated Properties Wikibase instance For an example file format to import, see repo/tests/phpunit/data/maintenance/federatedPropertiesTestDataFile.tsv.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Maintenance\ImportFederatedPropertiesSampleData::__construct ( )

Member Function Documentation

◆ execute()

Wikibase\Repo\Maintenance\ImportFederatedPropertiesSampleData::execute ( )

◆ getDataToImport()

Wikibase\Repo\Maintenance\ImportFederatedPropertiesSampleData::getDataToImport (   $dataFileLocation)

◆ storeNewItemWithTermData()

Wikibase\Repo\Maintenance\ImportFederatedPropertiesSampleData::storeNewItemWithTermData ( array  $data,
EntityStore  $entityStore 
)

The documentation for this class was generated from the following file: