Page MenuHomePhabricator

Use ObjectFactory to construct ContentHandlers
Closed, ResolvedPublic

Description

ContentHandlersFactory should have the contents of $wgContentHandlers injected as a constructor parameter, along with an ObjectFactory. SpecialPageFactory can be taken as a model. Note however that SpecialPageFactory maintains the list of specs in a local constant, while the default specs for ContentHandlers as placed in $wgContentHandlers in DefaultSettings.php.

Event Timeline

Change 568491 had a related patch set uploaded (by Art-Baltai; owner: Art-Baltai):
[mediawiki/core@master] component: Use ObjectFactory to construct ContentHandlers

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

Change 568491 abandoned by Art-Baltai:
component: Use ObjectFactory to construct ContentHandlers

Reason:
actual is: https://gerrit.wikimedia.org/r/c/mediawiki/core/ /566276

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

Change 568491 restored by Art-Baltai:
component: Use ObjectFactory to construct ContentHandlers

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

Change 568491 merged by jenkins-bot:
[mediawiki/core@master] Use ObjectFactory to construct ContentHandlers

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

Change 730969 had a related patch set uploaded (by Legoktm; author: Ostrzyciel):

[mediawiki/core@master] registration: Allow ObjectFactory spec in extension.json schema

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

Change 730969 merged by jenkins-bot:

[mediawiki/core@master] registration: Allow ObjectFactory spec in extension.json schema

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