Community Wishlist Survey 2021/Editing/Better diff handling of paragraph splits

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Random proposal ►

◄ Back to Editing

  • Problem: When an editor adds line breaks to split an existing paragraph, our diff viewer depicts the text as deleted and re-added rather than just repurposed. This makes it difficult to see what text changed between the two paragraphs.
  • Who would benefit: Editors and readers who view diffs of this fairly common type of edit
  • Proposed solution: Directly compare the text changes between the "deleted" text and the new paragraphs, similar to how this handled moved paragraphs
  • More comments: This is a perennial request with continued need. It ranked #13 in 2016, and it appeared in the 2019 wishlist if not elsewhere
  • Phabricator tickets: task T156439, task T7072
  • Proposer: czar 02:11, 22 November 2020 (UTC)


  • Support for this! Maybe they could internally do a sentence-by-sentence diff, i.e. put every sentence in a new line before running diff.
  • The improved diff view of wikEdDiff handles this case well. Certes (talk) 00:38, 23 November 2020 (UTC)
  • Strong Support. It is useful for all editors, but I think it would also help in-experienced editors become more comfortable with editing. The instant feedback such a function would give would be very nice. Mulstev (talk) 07:10, 28 November 2020 (UTC)