Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce claims reconciliation capabilities #71

Merged
merged 31 commits into from
Jan 10, 2022
Merged

Conversation

maxlath
Copy link
Owner

@maxlath maxlath commented Jun 1, 2021

Adds a reconciliation object to edits, allowing to customize the behaviour the lib should adopt to:

  • identify an existing claim as a matching claim
  • determine what changes should be made to that matching claim

See the draft reconciliation section of the How-To for an introduction on the proposed syntax, and the new tests for more details

to prepare for the possibility to do reconciliation, which requires
making requests to the Wikibase API
to prevent not reconciling due to a typo in the reconciliation object name
…same claim within the same edit

as the result would be a Wikibase error stating that the claim can't be found,
which is less easy to debug than an explicit error message
a record is just a reference, no need of a new name
@maxlath maxlath merged commit 671dd4b into main Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant