WMDE-leszek created this task.
WMDE-leszek added projects: Wikidata, Wikidata-Sprint-2016-11-15.

TASK DESCRIPTION

Given all preparatory work described in T151307, and in particular introducing the DispatchingPropertyInfoLookup class in T152103 we could now make property info related code in ClientStore/WikibaseStore work with foreign properties too.

I believe there would be one extra step needed: ClientStore interface provides PropertyInfoStore (more specific interface extending PropertyIInfoLookup) instance to the WikibaseClient. We could introduce DispatchingPropertyInfoStore that would use DispatchingPropertyInfoLookup instance for read operations, and a "usual" PropertyInfoStore implementation (PropertyInfoTable/CachingPropertyInfoStore) for write operation on local repo. It should deny doing any write operations on properties from foreign repositories.

Implementation note: it probably makes sense that single instance is used for read and write operations on local repo, and there is no separate write and read service for this repo.


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

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

To: WMDE-leszek
Cc: Aklapper, daniel, Jakob_WMDE, WMDE-leszek, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to