jenkins-bot has submitted this change and it was merged.
Change subject: set Wikidata as "shared data repository" for Wikisource
......................................................................
set Wikidata as "shared data repository" for Wikisource
Wikidata supports Wikisource sitelinks now, alongside with Wikipedia, Wikivoyage and
Commons ones.
Change-Id: I84caa2e7ea31477de0507812d015b22436c9e4e1
---
M pywikibot/families/wikisource_family.py
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Merlijn van Deen: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/families/wikisource_family.py
b/pywikibot/families/wikisource_family.py
index a838fd5..7a3f682 100644
--- a/pywikibot/families/wikisource_family.py
+++ b/pywikibot/families/wikisource_family.py
@@ -90,3 +90,6 @@
for key, values in self.authornamespaces.items():
for item in values:
self.crossnamespace[item].update({key: self.authornamespaces})
+
+ def shared_data_repository(self, code, transcluded=False):
+ return ('wikidata', 'wikidata')
--
To view, visit
https://gerrit.wikimedia.org/r/107598
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I84caa2e7ea31477de0507812d015b22436c9e4e1
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <ricordisamoa(a)live.it>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: jenkins-bot