Skip to content

Commit

Permalink
allows to set allowed sitelinks to an empty set (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tholzheim committed Dec 4, 2024
1 parent dc61a88 commit 14b0048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wikibasemigrator/model/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def get_allowed_languages(self) -> list[str]:

def get_allowed_sitelinks(self) -> list[str]:
if self.mapping.sitelinks is None:
self.mapping.sitelinks = ["enwiki", "dewiki", "wikidatawiki"]
self.mapping.sitelinks = []
return self.mapping.sitelinks

def get_wikibase_config_of_mapping_location(self) -> WikibaseConfig:
Expand Down

0 comments on commit 14b0048

Please sign in to comment.