Page MenuHomePhabricator

Parsoid: Not respecting body=1 param on wikitext->html calls. Breaks math inspector in VE
Closed, ResolvedPublic

Description

screenshot

Environment- test2, beta

1> In VE,select Formula.
2> when the inspector opens type in some text.Click done, it closes the inspector and you see the formula context menu, but nothing gets added to the page.see screenshot.


Version: unspecified
Severity: major

Attached:

s.png (229×271 px, 7 KB)

Details

Reference
bz72136

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:59 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz72136.

Also only in beta, the inspector closes while i am still typing and before even clicking on done.

(In reply to Ritu Swain from comment #1)

Also only in beta, the inspector closes while i am still typing and before
even clicking on done.

Although it is not visible in the edit mode. But after saving the page, the formulae can be seen in the Read mode.

  • This bug has been marked as a duplicate of bug 71131 ***

Splitting out from bug 71131 as it's probably a different cause even if the same effect.

Parsoid is now returning a full HTML document for parsefragment, instead of just a body tag. This affects all generated content and although templates still appear, we are writing extra title and meta tags to the page.

Change 167616 had a related patch set uploaded by Marcoil:
Bug 72136: Comply with the 'body' API parameter

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

Verified the fix in test2 and Betalabs

(In reply to Rummana Yasmeen from comment #7)

Verified the fix in test2 and Betalabs

That was about a different bug, sorry.

Change 167616 merged by jenkins-bot:
Bug 72136: Comply with the 'body' API parameter

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

Verified the fix in production