Addshore created this task. Addshore added a subscriber: Addshore. Addshore added projects: Wikidata, MediaWiki-extensions-WikibaseRepository. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Currently if a user or bot wants to compare two items or revisions on wikidata they can use the standard 'compare' api provided by Mediawiki. For wikidata changes this provides something like the below http://www.wikidata.org/w/api.php?action=compare&fromrev=115242402&torev=214926609 (For creating a redirect) http://www.wikidata.org/w/api.php?action=compare&fromrev=35441647&torev=115234261 (For adding a sitelink) The Datamodel already has lots of ways to compare versions of entities and create diff objects can be found at https://github.com/wmde/WikibaseDataModel/tree/master/src/Entity/Diff I propose that this be revealed through an api, wbcompare perhaps, with the same parameters as the mediawiki compare module TASK DETAIL https://phabricator.wikimedia.org/T98666 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Addshore, Aklapper, Wikidata-bugs, aude _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
