https://bugzilla.wikimedia.org/show_bug.cgi?id=64468
Bug ID: 64468 Summary: improve diff visualization for Wikibase entities Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: Wikidata Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: ricordisamoa@live.it Depends on: 39147 Web browser: --- Mobile Platform: ---
pywikibot.showDiff(oldText, newText) is currently used to compare two wikicode strings. But what about data items?
We should either: * use the API to get a diff in structured format (bug 39147), or: * convert dicts to strings somehow, before sending them to difflib
More ideas are welcome.