Bugs item #3606248, was opened at 2013-02-27 09:56
Message generated for change (Settings changed) made by xqt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606248&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nullzer0 (nu11zer0)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wikidata: can't import iw links from be-x-old

Initial Comment:
I got following error: unknown site: be-x-oldwiki

The problem comes from "self._originSite.dbName().split('_')[0]" which give 
"be-x-oldwiki", but api knows only "be_x_oldwiki".

Pywikipedia trunk/pywikipedia/ (r11136, 2013/02/27, 13:05:01, ok)
Python 2.7.3 (default, Sep 26 2012, 21:53:58) 
[GCC 4.7.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok

----------------------------------------------------------------------

Comment By: Amir  (amird)
Date: 2013-02-28 00:02

Message:
P.S. I tested it:
http://www.wikidata.org/wiki/Q5527282

----------------------------------------------------------------------

Comment By: Amir  (amird)
Date: 2013-02-28 00:01

Message:
done in 11138: as http://wikidata.org/w/api.php all of lang like be-x-old
need this correction too so i did it that way. 

Try other functions of DataPage in be-x-old and inform me if there is any
error like this

Thanks

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606248&group_id=93107

_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to