John Erling Blad has submitted this change and it was merged.

Change subject: (no bug) create client cache tables only if needed.
......................................................................


(no bug) create client cache tables only if needed.

This skips creation of the client side cachign tables if
repoDatabase is set, indicating that direct access to the
repository's database is possible.

This also disabled the creation of other client side database tables
like wbc_item_usage defined in WikibaseClient.sql.

Change-Id: I579e7e40c159d2d0204af795b60bc4fdeb59ce6f
---
M client/WikibaseClient.hooks.php
M client/tests/phpunit/includes/CachedEntityTest.php
M client/tests/phpunit/includes/store/EntityCacheTableTest.php
3 files changed, 38 insertions(+), 29 deletions(-)

Approvals:
  John Erling Blad: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/36160
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I579e7e40c159d2d0204af795b60bc4fdeb59ce6f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: John Erling Blad <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to