Page MenuHomePhabricator

Research Mediawiki code and design a proposal for building the interface that shows diff between two revisions.
Open, MediumPublic

Description

Description

WikiLambdaDiff currently calculates Diffs returning the following format:

{
	"root.Z2K3.Z12K1.1.Z11K2": {
		"type": "change",
		"oldvalue": "Some string",
		"newvalue": "Some monolingual text"
	}
}

Where, for each atomic change, we are extracting:

  • The path: root.Z2K3.Z12K1.1.Z11K2
  • The operation: change | add | remove
  • The old and/or new values

When using the history page to compare two revisions, these atomic changes must be translated into an and accessible interface that users can easily read and understand.

Some resources of interest:

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

This task requires:


Completion checklist

Event Timeline

Document: Displaying zObject revision diffs
(Not a full design, but laying out some findings and high-level proposal)

Ddwaal removed Ddwaal as the assignee of this task.Dec 5 2022, 2:47 PM
Ddwaal subscribed.
AAlhazwani-WMF changed the task status from Open to In Progress.Jun 6 2023, 12:38 PM
AAlhazwani-WMF claimed this task.
AAlhazwani-WMF changed the task status from In Progress to Open.Jun 27 2023, 10:26 AM
AAlhazwani-WMF removed AAlhazwani-WMF as the assignee of this task.
AAlhazwani-WMF updated the task description. (Show Details)
AAlhazwani-WMF subscribed.