Skip to content

Conversation

@uxairibrar
Copy link
Collaborator

@uxairibrar uxairibrar commented May 31, 2025

Closes #113

)
try:
from wikibaseintegrator.datatypes import Url
except ImportError:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not go with the second one right-away?

def add_time_claims(dates, prop_nr, statements):
for ds in dates:
iso, prec = normalize_date_and_precision(ds)
timestamp = f"+{iso}T00:00:00Z"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Despite the above, I'm fine with the hours/mins/seconds here are the same for beginning and end. We operate at day-level precision.

@nuest nuest marked this pull request as draft July 15, 2025 07:42
uxairibrar and others added 2 commits October 23, 2025 14:35
Implements functionality to export publication metadata to a Wikibase instance, including Wikidata
@nuest nuest force-pushed the features/export_wikidata branch from 8d2e571 to 0ad4b17 Compare October 26, 2025 19:40
@nuest nuest marked this pull request as ready for review October 26, 2025 19:44
@nuest nuest force-pushed the features/export_wikidata branch from 0ad4b17 to 6b1e930 Compare October 26, 2025 19:53
@nuest nuest merged commit 0d221df into main Oct 26, 2025
1 of 2 checks passed
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.

Export data to Wikidata (own Wikibase instance)

3 participants