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

Better diff handling of paragraph splits

  • 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.
  • Proposed solution: Directly compare the text changes between the "deleted" text and the new paragraphs, similar to how this handled moved paragraphs. In other words: diff ranks the line break much too high. It should rank it maybe like white space and rank resynchronization higher. Moreover, the differing characters could be shown more pronouncedly and the numbers of characters and their difference shown very similar to the Revision history.
  • Who would benefit: Editors and diff readers (fairly common type of edit)
  • More comments: This is a perennial request with continued need. It ranked #9 last year (score) and appeared in the 2019 and 2016 (#13) wishlists.
  • Phabricator tickets: task T156439, task T7072
  • Proposer: czar 23:09, 10 January 2022 (UTC)

Discussion

  • Hell, yes! · · · Peter (Southwood) (talk): 08:41, 11 January 2022 (UTC)
  • Yes. Please keep suggesting this until someone acts. Certes (talk) 18:01, 11 January 2022 (UTC)
  • I am wholly in favor of this. HapHaxion (talk) 20:15, 11 January 2022 (UTC)
  • Same to me. — The preceding unsigned comment was added by Nomen4Omen (talk)
  • Same to me, I don't like being removed. Thingofme (talk) 10:26, 14 January 2022 (UTC)
  • If I am reading this correctly, this is the bane of my existence. Or at least related to my bête noire my blank lines vanishing. Kencf0618 (talk) 01:18, 29 January 2022 (UTC)
  • While I often get around this flaw by making line break addition and removal separate from other editing, I could stand to see it handled better. Dhtwiki (talk) 03:15, 29 January 2022 (UTC)
  • Absolutely. Hate seeing this whenever I swap text around, or move it down a few paragraphs - this is a must. Fakescientist8000 (talk) 14:36, 29 January 2022 (UTC)
  • There are tools like en:User:Cacycle/wikEdDiff and de:Benutzer:Schnark/js/diff that handle diffs much better, but as far as I know, they work only on the dedicated diff page, and not in the little pop-up window when you hover over the diff link. Uanfala (talk) 13:03, 7 February 2022 (UTC)
    I think the little popup you are talking about is itself created by a user script/gadget, navigation popups. ~~~~
    User:1234qwer1234qwer4 (talk)
    23:55, 11 February 2022 (UTC)

Community Tech has created a project page

Hello there, we have created a project page for the fulfillment of this wish! Please follow along on our progress, we welcome your feedback. Thank you. NRodriguez (WMF) (talk) 18:46, 14 November 2022 (UTC)

Voting