Page MenuHomePhabricator

JSON content model preview is broken
Closed, DeclinedPublicBUG REPORT

Description

Hi. Don't think it's a feature.

  1. Open some JSON page.
  2. Watch the green table structure.
  3. Click on Edit source.
  4. Change something.
  5. Click on preview.
  6. Expected: changed green table structure.
  7. Got: a copy of wikicode to be saved (possibly with a proper indentation).

Does not happen on all JSON pages, some of them are broken and some are not, don't know which. So, try, for example this one.
View mode:

image.png (877×1 px, 141 KB)

Edit mode:
image.png (877×1 px, 181 KB)

May or may not have something to do with the recently deployed T146771. Thank you.

Event Timeline

See also T405827. Though different problem, pretty sure the cause is the same.

The page is over 100KB large, so If103e2991d8cc6e3941d5171f646f08010c9842e (T344505) is kicking in for performance reasons. This would also mean T405827 is a duplicate of this ticket.

T146771 is unrelated, that ticket refers to how the pages' contents are treated during transclusion, not during direct view display.

Pppery subscribed.

Per Alex44019's comment.