While WikiPage is not @newable, it still has manually constructions in deployed code. Until those are replaced (T259948: Remove manual construction of WikiPage objects), the dependencies should be optional.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Inject dependencies to WikiPage, part 1 | mediawiki/core | master | +148 -32 |
Related Objects
Related Objects
- Mentioned Here
- T259948: Remove manual construction of WikiPage objects
Event Timeline
Comment Actions
Change 619047 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Inject dependencies to WikiPage
Comment Actions
Are there currently plans to convert WikiPage to a value object?
WikiPage should be broken up and cease to exist. Its function as an entity should be taken over by PageRecord.
Comment Actions
Until that happens, since we now have a WikiPageFactory, can we inject the dependencies needed?
Comment Actions
Change 619047 abandoned by DannyS712:
[mediawiki/core@master] Inject dependencies to WikiPage, part 1
Reason: