jenkins-bot has submitted this change and it was merged.
Change subject: Wikidata test client seems to be off ......................................................................
Wikidata test client seems to be off
Change-Id: I5c81e591ae8f490023d99c609a9eb82a35a314f4 --- M pywikibot/families/wikidata_family.py 1 file changed, 1 insertion(+), 12 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/families/wikidata_family.py b/pywikibot/families/wikidata_family.py index 9c72f1b..c5d89a5 100644 --- a/pywikibot/families/wikidata_family.py +++ b/pywikibot/families/wikidata_family.py @@ -13,14 +13,8 @@ self.name = 'wikidata' self.langs = { 'wikidata': 'www.wikidata.org', - 'client': 'wikidata-test-client.wikimedia.de', 'test': 'test.wikidata.org', } - - def scriptpath(self, code): - if code == 'client': - return '' - return super(Family, self).scriptpath(code)
def shared_data_repository(self, code, transcluded=False): """Always return a repository tupe. This enables testing whether @@ -30,12 +24,7 @@ if transcluded: return (None, None) else: - if code == 'wikidata': - return ('wikidata', 'wikidata') - elif code == 'test': - return ('test', 'wikidata') - else: - return (None, None) + return (code, self.name)
def globes(self, code): """Supported globes for Coordinate datatype"""
pywikibot-commits@lists.wikimedia.org