WMDE-leszek created this task.
WMDE-leszek added projects: Wikidata, wikidata-tech-focus, Wikidata-Campsite 
(Wikidata-Campsite-Iteration-∞).

TASK DESCRIPTION
  Currently both DatabaseItemTermStore and DatabasePropertyTermStore check 
whether they should perform write operation based on the "foreign id prefix" 
(check via DatabasePropertyTermStore::disallowForeignEntityIds).
  In case (e.g. Wikimedia Commons) where items and/or properties are coming 
from the database of non-local entity sources those classes should not do any 
INSERTs or DELETEs either, despite the ID having no custom prefix.
  
  For similar checks, `WikiPageEntityStore` has `assertCanStoreEntity`:
  
    private function assertCanStoreEntity( EntityId $id ) {
                if ( 
$this->dataAccessSettings->useEntitySourceBasedFederation() ) {
                        $this->assertEntityIdFromKnownSource( $id );
                        return;
                }
    
                $this->assertLocalEntityId( $id );
        }

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

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

To: WMDE-leszek
Cc: Addshore, Aklapper, WMDE-leszek, Iflorez, darthmon_wmde, alaa_wmde, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to