Lucas_Werkmeister_WMDE claimed this task.
Lucas_Werkmeister_WMDE moved this task from Ready to go [prioritized] to In
Progress on the Wikidata wb_terms Trailblazing board.
Lucas_Werkmeister_WMDE added a comment.
Currently, we have this in `WikibaseRepo`:
private function newEntityTermStoreWriter(): EntityTermStoreWriter {
$termStoreMigrationStage = $this->settings->getSetting(
'tmpTermStoreMigrationStage' );
if ( $termStoreMigrationStage === MIGRATION_WRITE_BOTH ) {
return new MultiTermStoreWriter(
$this->getOldEntityTermStoreWriter(),
$this->getNewEntityTermStoreWriter()
);
}
if ( $termStoreMigrationStage === MIGRATION_WRITE_NEW ) {
return $this->getNewEntityTermStoreWriter();
}
return $this->getOldEntityTermStoreWriter();
}
private function getOldEntityTermStoreWriter(): EntityTermStoreWriter {
return $this->getStore()->getTermIndex();
}
private function getNewEntityTermStoreWriter(): EntityTermStoreWriter {
return new DelegatingEntityTermStoreWriter(
$this->getPropertyTermStore(),
$this->getItemTermStore()
);
}
I can only assume that this predates the current migration plan, because it
doesn’t really fit it very well: it assumes that we’ll do a migration across
all entities at the same time, whereas we want to do properties first, and then
items only up to a certain numeric ID.
TASK DETAIL
https://phabricator.wikimedia.org/T224541
WORKBOARD
https://phabricator.wikimedia.org/project/board/3972/
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, alaa_wmde, darthmon_wmde, Premeditated,
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen,
rosalieper, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs