[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Define the strategy to make Repo and Client "parts" of Wikibase fully independent from each other
Closed, ResolvedPublic

Description

Initial steps to take in order to define the strategy as agreed on 2020-06-09

  1. To allow for easier identification of dependencies and interdependencies in PHP code, all Wikibase classes are to moved/adjusted to PSR-4-compliant namespaces. This is expected to make reasoning about the PHP classes easier. For bookkeeping reasons, T172368 will be used to track this activity.
  2. Create an overview of existing types of coupling between Repo and Client: T254902
  3. Explore the monorepo solution for maintaining shared logic: T254920
  4. Create a draft of using WikibaseClient extension as an interim platform to share logic between Client and Repo. It should be accounted for not allowing to share PHP code but only other shared logic (i18n messages, RL modules): T254922

Related Objects

Event Timeline

WMDE-leszek renamed this task from Define the strategy to make Repo and Client "parts" of Wikibase fully independ from each other to Define the strategy to make Repo and Client "parts" of Wikibase fully independent from each other.Jun 9 2020, 5:32 PM

Change 608328 had a related patch set uploaded (by Tarrow; owner: Tarrow):
[mediawiki/extensions/Wikibase@master] ADR: Register shared features in Repo and Client

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/ /608328

Change 608328 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] ADR: Register shared features in Repo and Client

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/ /608328

I move this back to to-do as I assume it needs a patch to get it accepted. Correct me if I do it wrong.

Change 608804 had a related patch set uploaded (by Tarrow; owner: Tarrow):
[mediawiki/extensions/Wikibase@master] Accept Wikibase ADR 0013 - Shared Repo Client Features

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/ /608804

Acceptance Patch is up and email send to the internal list!

Change 608804 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Accept Wikibase ADR 0013 - Shared Repo Client Features

https://gerrit.wikimedia.org/r/608804