[Wikidata-bugs] [Maniphest] [Updated] T153463: Use a dispatching property info lookup in Wikibase client

2017-01-02 Thread WMDE-leszek
WMDE-leszek added a project: Patch-For-Review.WMDE-leszek moved this task from Doing to Review on the Wikidata-Sprint-2016-11-15 board.
TASK DETAILhttps://phabricator.wikimedia.org/T153463WORKBOARDhttps://phabricator.wikimedia.org/project/board/2351/EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: gerritbot, Aklapper, daniel, Jakob_WMDE, WMDE-leszek, Th3d3v1ls, Ramalepe, Liugev6, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T153463: Use a dispatching property info lookup in Wikibase client

2016-12-19 Thread WMDE-leszek
WMDE-leszek removed a project: Patch-For-Review.WMDE-leszek edited the task description. (Show Details)
EDIT DETAILSGiven 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 DETAILhttps://phabricator.wikimedia.org/T153463EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: gerritbot, 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


[Wikidata-bugs] [Maniphest] [Updated] T153463: Use a dispatching property info lookup in Wikibase client

2016-12-16 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T153463EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszek, gerritbotCc: gerritbot, Aklapper, daniel, Jakob_WMDE, WMDE-leszek, Th3d3v1ls, Ramalepe, Liugev6, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs