Page MenuHomePhabricator

Support live diff for creating a new section
Closed, ResolvedPublicFeature

Description

Live preview does not support "Show changes" for creating a new section (section=new). This is documented in code but I couldn't find a task for it, so here it is.

Event Timeline

Main editform text can already be diffed (as is the case in non new section case). The only tricky issue I think is with the section heading, which is in a separate container during new section creation (with section=new).

Change 912890 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] LivePreview: Support live diff for new section creation

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

Ammarpad changed the task status from Open to In Progress.Apr 27 2023, 4:49 PM
Ammarpad changed the subtype of this task from "Task" to "Feature Request".

Change 912890 merged by jenkins-bot:

[mediawiki/core@master] LivePreview: Support live diff for new section creation

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

matmarex assigned this task to Ammarpad.
matmarex subscribed.

(Looks resolved by that patch)