Page MenuHomePhabricator

Start converting Wikibase extensions to use extension registration
Closed, ResolvedPublic

Description

We want to follow the approach that was successful for the Translate extension (T87985): start with an empty extension-wip.json, load that from the PHP entry point, gradually port settings from the PHP entry point to the JSON file, and then, at the end, rename extension-wip.json to extension.json and load it directly. Starting this process should be feasible for a hackathon project, even though completing it certainly isn’t.

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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 14 2019, 10:00 AM

Change 511346 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Add rudimentary extension.json for WikibaseRepository

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

Change 511347 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Add rudimentary extension.json for WikibaseClient

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

Change 511348 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Add rudimentary extension.json for WikibaseLib

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

Change 511349 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Add rudimentary extension.json for WikibaseView

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

Change 511351 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Convert WikibaseView MessagesDirs to extension registration

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

Change 511352 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Convert WikibaseView hooks to extension registration

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

Change 511353 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Convert WikibaseView to PSR-4 autoloading

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

Change 511354 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Remove WIKIBASE_VIEW_VERSION

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

Change 511355 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Convert WikibaseView custom resource modules to extension registration

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

The above patches set up rudimentary extension.json files for all four extensions, and then almost fully convert WikibaseView. (See the commit message of the final patch for why the last bit isn’t as straightforward as I thought.)

I just rebased the chain because it conflicted with Iabc6aaeb76. Can we get this merged soon to avoid further conflicts?

Change 511346 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add rudimentary extension.json for WikibaseRepository

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

Change 515032 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Convert WikibaseLib hooks to extension registration

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

Change 511347 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add rudimentary extension.json for WikibaseClient

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

Change 511348 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add rudimentary extension.json for WikibaseLib

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

Change 511349 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add rudimentary extension.json for WikibaseView

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

Change 511351 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Convert WikibaseView MessagesDirs to extension registration

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

Change 511352 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Convert WikibaseView hooks to extension registration

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

Change 511353 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Convert WikibaseView to PSR-4 autoloading

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

Change 511354 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Remove WIKIBASE_VIEW_VERSION

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

Change 511355 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Convert WikibaseView custom resource modules to extension registration

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

Lucas_Werkmeister_WMDE closed this task as Resolved.Jun 12 2019, 3:45 PM
Lucas_Werkmeister_WMDE claimed this task.

Done – this task was only for starting the conversion, and with all the patches here being merged, I think we can close it. Hopefully we can continue with the conversion soon.