[RFC] Running a difference check on whole of tiddler including fields

Yes very useful documentation @pmario.

I have already started by writing a difference checker between two different tiddler names, by simply comparing each field in both tiddlers with exceptions.

I am trying to build one that

  • Returns true/false in the comparison
    • I come across edited shadow tiddlers that in fact have no differences, if I knew this I could delete the tiddler.
    • I have one wiki where hundreds have this state due to an upgrade mistake
  • Another a count of fields changed/added/removed. I am not bothering with the differences within a changed field just the fact it is different.
  • Writing a JS macro that leverages $:/core/modules/utils/diff-match-patch/diff_match_patch.js would be smarter.
    • but I am not that smart :nerd_face: (yet)
  • It would be useful to show such tools against plugins and the import process
    • Just imagine being told what field(s) have changed, or not, rather than having to go looking.

Anyone else know of “prior art” with this.