You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now source items without a QID are ignored by Citations.syncItemCitationsWithWikidata. Similarly, local citations with unknown-QID target items are ignored as well; i.e., not uploaded to Wikidata (although a Wikidata OCI may be added to them by SourceItemWrapper.addCitations if its PIDs match with that of the target item of one of the citations retrieved -#25).
Therefore, the safest flow would be to:
fetch QID for all source items
fetch QID for all target items
only then sync citations
To make it more friendly, the syncItemCitationsWithWikidata may offer the user to run both 1 and 2 at the beginning. In this case, maybe only safest matches (i.e., single matches from PID queries, vs multiple matches #34 or title-query matches #32) should be kept, and creation of new entities for QIDs not found (#33) should not be offered.
The text was updated successfully, but these errors were encountered:
Right now source items without a QID are ignored by
Citations.syncItemCitationsWithWikidata
. Similarly, local citations with unknown-QID target items are ignored as well; i.e., not uploaded to Wikidata (although a Wikidata OCI may be added to them bySourceItemWrapper.addCitations
if its PIDs match with that of the target item of one of the citations retrieved -#25).Therefore, the safest flow would be to:
To make it more friendly, the
syncItemCitationsWithWikidata
may offer the user to run both 1 and 2 at the beginning. In this case, maybe only safest matches (i.e., single matches from PID queries, vs multiple matches #34 or title-query matches #32) should be kept, and creation of new entities for QIDs not found (#33) should not be offered.The text was updated successfully, but these errors were encountered: