Page MenuHomePhabricator

Incorrect source in harvest_template.py
Closed, ResolvedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1638/
Reported by: jandudik
Created on: 2013-06-24 21:07:15.699000
Subject: Incorrect source in harvest_template.py
Original description:
I run in rewrite
harvest_template.py -ref:template:infobox_okres -template:"Infobox okres" ISO P300 NUTS P605

my lang is set to cs, but bot add as source lang=se

http://www.wikidata.org/w/index.php?title=Q852518&diff=52278378&oldid=52278374


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1638

Details

Reference
bz55136

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:22 AM
bzimport set Reference to bz55136.
bzimport added a subscriber: Unknown Object (????).

It gets the language from pywikibot.Site().language(). Can you confirm that that function returns "cs"?

How can I check it?

in user-config.py is
mylang = 'cs'
family = 'wikipedia'