Last modified: 2013-11-11 13:33:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57136, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55136 - Incorrect source in harvest_template.py
Incorrect source in harvest_template.py
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:30 UTC by Kunal Mehta (Legoktm)
Modified: 2013-11-11 13:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:30:20 UTC
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
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:30:22 UTC
It gets the language from pywikibot.Site().language(). Can you confirm that that function returns "cs"?
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:30:24 UTC
How can I check it?

in user-config.py is 
mylang = 'cs'
family = 'wikipedia'
Comment 3 Merlijn van Deen (test) 2013-11-11 13:33:19 UTC
I think this was fixed with https://gerrit.wikimedia.org/r/#/c/80976/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links