wikibase: report editing results in the grid #6555
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #1782. Backports #5944 (see the discussion there).
Depends on #6552 (which is included here, I can rebase once it gets merged), hence the draft status.
This follows the design proposed on the forum.
The Wikibase upload operation creates a new column (or reuses the column, if it already exists) to store the editing errors of edits related to a given row:
It also adds a facet to easily locate rows containing errors:
For successful edits it stores a URL to the diff view of the edit (such as https://www.wikidata.org/w/index.php?diff=1920784148&oldid=1919995661).
This also closes #5166, since it makes it possible to relate the errors to the offending lines better.
One could also make the creation of the error-reporting column optional and potentially with a configurable name. It would also be good to make it possible to create the facet manually (just like the judgment / score facets of the reconciliation operation) if it has been closed manually or not restored after reopening the project, but I am not sure where to add the button for that.