Page MenuHomePhabricator

Use extension.json, deprecate use of Gather.php for registering config
Closed, ResolvedPublic

Description

This is far too confusing and difficult to maintain. For background:

11:11 yurik: jdlrobson2, do we expect to support older mediawikis ?
11:12 yurik: jdlrobson2, if not, would rather get rid of all the settings in gather.php and move to extension.json
11:13 yurik: so no need for <1.25 support, rigth?
11:13 jdlrobson2: yurik: let me fix the status quo in https://gerrit.wikimedia.org/r/#/c/194850/ and then i'm more than happy to drop < 1.25 support :)

More details are available on T87875.

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson moved this task to In Analysis on the Gather Sprint C_ board.
Jdlrobson subscribed.

As part of this I think we should move resource registration into a hook. The lack of boilerplates will make this messy.

Change 197417 had a related patch set uploaded (by Yurik):
Migrated from Gather.php to extension.json

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

Change 197417 had a related patch set uploaded (by Paladox):
Add extension.json, empty PHP entry point

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

Change 197417 merged by jenkins-bot:
Add extension.json, empty PHP entry point

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

Jdlrobson claimed this task.