EditPage should allow editing of the content of any slot, not just the main slot. Which slot is being edited can be controlled with a URL parameter.
See also T174033: Refactor EditPage to allow multiple slots to be edited atomically [MCR]
EditPage should allow editing of the content of any slot, not just the main slot. Which slot is being edited can be controlled with a URL parameter.
See also T174033: Refactor EditPage to allow multiple slots to be edited atomically [MCR]
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +23 -18 | WIP Use PageUpdater in EditPage |
Change 444459 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] WIP Use PageUpdater in EditPage
Why is this separate from T174033: Refactor EditPage to allow multiple slots to be edited atomically [MCR]?
I said it there, but I'll say it here too: that change is not what we should do here. We should create the components illustrated in https://www.mediawiki.org/wiki/File:Edit_and_revision_rendering_data_flow_diagram.svg instead:
Currently PageUpdater is trying to implement the red arrow flow. It together with DerivedPageDataUpdater tries to be the "Data Input" and implement the "PST, Make rev" and "Save Revision" and "Secondary Data Updates" all in one; we at least managed to carve RevisionRenderer out of the middle of it. Personally I think it should wind up being deprecated and removed, but let's leave that discussion for another time and place.
Change 460436 had a related patch set uploaded (by Anomie; owner: Anomie):
[mediawiki/core@master] [MCR][WIP] Introduce EditController