Page MenuHomePhabricator

Live preview does not show the preview of the summary anymore
Closed, ResolvedPublic

Description

Live preview does not show the preview of the summary anymore.

97d7de0b84ef65094108fbcf62ffcc1c55d75345 is responsible for this.

Event Timeline

Change 366570 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] Live Preview: Cope with the edit summary being an OOjs UI widget

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

The summary is still POSTed to the server and the parsed summary is in the response. The problem is in attaching the result into the DOM:

$( '#wpSummary' ).after(
	$( '<div>' ).addClass( 'mw-summary-preview' )
);

does not work anymore with OOjs UI.

Should also be tested for "New section"-flow.

Jdforrester-WMF triaged this task as Medium priority.

Change 366570 merged by jenkins-bot:
[mediawiki/core@master] Live Preview: Cope with the edit summary being an OOjs UI widget

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