Page MenuHomePhabricator

Make Paste content changes render as code diffs again, not prose diffs
Open, LowPublic


In T7643, we changed how object field diffs are rendered. This improved most diffs, like wiki page edits and task description changes.

However, a small number of fields really are better off as code diffs. These include:

  • Paste content (except maybe for pastes which contain prose, like ".txt", ".remarkup", etc).
  • Config changes (at least, for JSON config).
  • Maybe Almanac properties?

The prose diffs are normally fine in these cases, but restoring them to code diffs would be an improvement.