Page MenuHomePhabricator

Convert WikibaseClient to use extension registration
Closed, ResolvedPublic

Description

As an extension developer, I want Wikibase to use the same extension registration mechanism as every single other WMF-deployed extension.
As a MediaWiki developer, I don’t want to have to continue supporting non-JSON based extension registration.
As a WMF deployer, I want all registrations to be loaded the same way in production.
As a third-party Wikibase user, I want to load the Wikibase extension in the familiar, standard way.

The PHP entry point will still be there, but shouldn’t do much more than load the JSON file. We aim to make the PHP entry point optional – it should be possible to load the JSON file directly. (This may involve folding Lib into Client, see T254922 – that should be decided in an ADR [task to follow]. But we also want to check if it’s possible for Client’s JSON file to import Lib while it’s still a separate extension.)

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Change 613235 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[operations/mediawiki-config@master] Load WikibaseClient from extension.json file instead of php one

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

Change 613235 merged by jenkins-bot:
[operations/mediawiki-config@master] Load WikibaseClient from extension.json file instead of php one

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

Mentioned in SAL (#wikimedia-operations) [2020-07-23T18:29:21Z] <ladsgroup@deploy1001> Synchronized wmf-config/Wikibase.php: [[gerrit:613235|Load WikibaseClient from extension.json file instead of php one (T257437 T256228 T88258)]] (duration: 01m 05s)

Change 615820 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/Wikibase@master] Drop client/WikibaseClient.php and references to it

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

Ladsgroup claimed this task.

Let's remove the php entry point later.