Bugs item #3601868, was opened at 2013-01-23 04:53
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
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: weblinkchecker
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Анима (n-fran)
>Assigned to: xqt (xqt)
Summary: weblinkchecker.py
Initial Comment:
2011-03-13 version -
http://pastebin.ru/KMbcoGEb
New version -
http://pastebin.ru/VcBEwmCx
Example of error -
http://pastebin.ru/izOf72GA
And a question: where in the new version weblinkchecker.py go talk report in different languages? Thanks.
Pywikipedia [http] trunk/pywikipedia (r10875, 2013/01/05, 22:45:20)
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-01-23 05:39
Message:
Bug already fixed in r10968. Your bot is outdated, please update it.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-01-23 05:36
Message:
the i18n messages are in /i18n subdirectory
----------------------------------------------------------------------
Comment By: Анима (n-fran)
Date: 2013-01-23 05:18
Message:
Yes. Part of the code from the old version:
http://pastebin.ru/bD3q3mzB
In new version weblinkchecker.py which I downloaded from here:
http://pywikipedia.org/nightly/
these lines are no.
Thanks.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-01-23 04:57
Message:
Could you explain your last question please.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
Bugs item #3601868, was opened at 2013-01-23 04:53
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
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: weblinkchecker
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkchecker.py
Initial Comment:
2011-03-13 version -
http://pastebin.ru/KMbcoGEb
New version -
http://pastebin.ru/VcBEwmCx
Example of error -
http://pastebin.ru/izOf72GA
And a question: where in the new version weblinkchecker.py go talk report in different languages? Thanks.
Pywikipedia [http] trunk/pywikipedia (r10875, 2013/01/05, 22:45:20)
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-01-23 05:36
Message:
the i18n messages are in /i18n subdirectory
----------------------------------------------------------------------
Comment By: Анима (n-fran)
Date: 2013-01-23 05:18
Message:
Yes. Part of the code from the old version:
http://pastebin.ru/bD3q3mzB
In new version weblinkchecker.py which I downloaded from here:
http://pywikipedia.org/nightly/
these lines are no.
Thanks.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-01-23 04:57
Message:
Could you explain your last question please.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
Bugs item #3601868, was opened at 2013-01-23 04:53
Message generated for change (Comment added) made by n-fran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
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: weblinkchecker
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkchecker.py
Initial Comment:
2011-03-13 version -
http://pastebin.ru/KMbcoGEb
New version -
http://pastebin.ru/VcBEwmCx
Example of error -
http://pastebin.ru/izOf72GA
And a question: where in the new version weblinkchecker.py go talk report in different languages? Thanks.
Pywikipedia [http] trunk/pywikipedia (r10875, 2013/01/05, 22:45:20)
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: Анима (n-fran)
Date: 2013-01-23 05:18
Message:
Yes. Part of the code from the old version:
http://pastebin.ru/bD3q3mzB
In new version weblinkchecker.py which I downloaded from here:
http://pywikipedia.org/nightly/
these lines are no.
Thanks.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-01-23 04:57
Message:
Could you explain your last question please.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
Bugs item #3601868, was opened at 2013-01-23 04:53
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
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: weblinkchecker
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkchecker.py
Initial Comment:
2011-03-13 version -
http://pastebin.ru/KMbcoGEb
New version -
http://pastebin.ru/VcBEwmCx
Example of error -
http://pastebin.ru/izOf72GA
And a question: where in the new version weblinkchecker.py go talk report in different languages? Thanks.
Pywikipedia [http] trunk/pywikipedia (r10875, 2013/01/05, 22:45:20)
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-01-23 04:57
Message:
Could you explain your last question please.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
Bugs item #3601826, was opened at 2013-01-22 15:02
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601826&group_…
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: other
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Luca Rabinelli (beta16)
>Assigned to: xqt (xqt)
Summary: WikiData: DataPage.get() return wrong item
Initial Comment:
Hi!
page = pywikibot.DataPage(site, 'Univers') returns Q2 correctly but
page = pywikibot.DataPage(site, 'Q2') returns Q404776 because label is "Q2"
API wbgetentities can be call by item ID or by sites+titles (https://www.wikidata.org/w/api.php) so I think also Data.Page.get() can be call
with 1 parameter -> by item ID: pywikibot.DataPage('Q2') -> return item Q2, label "Univers"
with 2 parameters -> by sites+titles: pywikibot.DataPage(site, 'Q2') -> return item Q404776, label "Q2"
od define two methods "ByID" and "BySitesTitles".
I hope I explained clearly.
Pywikipedia [http] trunk/pywikipedia (r10965, 2013/01/21, 09:12:28, OUTDATED)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-01-23 04:53
Message:
You are wrong. If the site is not the data repository, it returns the page
of the corresponding language link. Samples:
>>> import wikipedia as wp
>>> site = wp.getSite('en')
>>> repo = site.data_repository() #the wikidata site
# "Univers" at en-wiki gives the corresponding data page "Q1065215"
>>> dp = wp.DataPage(site, 'Univers')
>>> data = dp.get()
>>> dp
DataPage{[[wikidata:q1065215]]}
# "Q2" at en-wiki gives the corresponding data page "Q404776"
>>> data = wp.DataPage(site, 'Q2')
>>> dp = wp.DataPage(site, 'Q2')
>>> data = dp.get()
>>> dp
DataPage{[[wikidata:q404776]]}
# "Q2" at wikidata is ok:
>>> dp = wp.DataPage(repo, 'Q2')
>>> data = dp.get()
>>> dp
DataPage{[[wikidata:Q2]]}
# "Univers" at wikidata does not exist and gives an error
>>> dp = wp.DataPage(repo, 'Univers')
>>> data = dp.get()
Traceback (most recent call last):
File "<pyshell#34>", line 1, in <module>
data = dp.get()
File "wikipedia.py", line 4406, in get
pagetext = super(DataPage, self).get(*args, **kwargs)
File "wikipedia.py", line 719, in get
expandtemplates = expandtemplates)
File "wikipedia.py", line 799, in _getEditPage
"Page does not exist. In rare cases, if you are certain the page does
exist, look into overriding family.RversionTab")
NoPage: (wikidata:wikidata, u'[[wikidata:Univers]]', 'Page does not exist.
In rare cases, if you are certain the page does exist, look into overriding
family.RversionTab')
>>> dp
DataPage{[[wikidata:Univers]]}
>>>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601826&group_…
Bugs item #3601868, was opened at 2013-01-23 04:53
Message generated for change (Tracker Item Submitted) made by n-fran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
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: weblinkchecker
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkchecker.py
Initial Comment:
2011-03-13 version -
http://pastebin.ru/KMbcoGEb
New version -
http://pastebin.ru/VcBEwmCx
Example of error -
http://pastebin.ru/izOf72GA
And a question: where in the new version weblinkchecker.py go talk report in different languages? Thanks.
Pywikipedia [http] trunk/pywikipedia (r10875, 2013/01/05, 22:45:20)
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601868&group_…
Patches item #3601856, was opened at 2013-01-23 01:46
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3601856&group_…
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: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Luca Rabinelli (beta16)
>Assigned to: xqt (xqt)
Summary: 'sys' is not defined in version.py
Initial Comment:
From r10904 version.py returns this error:
Traceback (most recent call last):
File "version.py", line 18, in <module>
print 'Python %s' % sys.version
NameError: name 'sys' is not defined
This patch can fix it.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-01-23 03:34
Message:
fixed in r10967
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3601856&group_…
Patches item #3601856, was opened at 2013-01-23 01:46
Message generated for change (Tracker Item Submitted) made by beta16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3601856&group_…
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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Luca Rabinelli (beta16)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'sys' is not defined in version.py
Initial Comment:
From r10904 version.py returns this error:
Traceback (most recent call last):
File "version.py", line 18, in <module>
print 'Python %s' % sys.version
NameError: name 'sys' is not defined
This patch can fix it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3601856&group_…
Bugs item #3601826, was opened at 2013-01-22 15:02
Message generated for change (Tracker Item Submitted) made by beta16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601826&group_…
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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Luca Rabinelli (beta16)
Assigned to: Nobody/Anonymous (nobody)
Summary: WikiData: DataPage.get() return wrong item
Initial Comment:
Hi!
page = pywikibot.DataPage(site, 'Univers') returns Q2 correctly but
page = pywikibot.DataPage(site, 'Q2') returns Q404776 because label is "Q2"
API wbgetentities can be call by item ID or by sites+titles (https://www.wikidata.org/w/api.php) so I think also Data.Page.get() can be call
with 1 parameter -> by item ID: pywikibot.DataPage('Q2') -> return item Q2, label "Univers"
with 2 parameters -> by sites+titles: pywikibot.DataPage(site, 'Q2') -> return item Q404776, label "Q2"
od define two methods "ByID" and "BySitesTitles".
I hope I explained clearly.
Pywikipedia [http] trunk/pywikipedia (r10965, 2013/01/21, 09:12:28, OUTDATED)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601826&group_…
Feature Requests item #3586247, was opened at 2012-11-11 12:39
Message generated for change (Comment added) made by amird
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3586247&group_…
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: None
Group: None
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: JAn (jandudik)
Assigned to: xqt (xqt)
Summary: Wikidata support
Initial Comment:
It would be very useful if bot when updating interwiki links will update (or create) the item on wikidata too.
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2013-01-22 13:14
Message:
it's working if you want to try:
http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Wikidata
but xqt is working on improving the Wikidata codes
----------------------------------------------------------------------
Comment By: JAn (jandudik)
Date: 2013-01-22 11:28
Message:
Wikidta are used for more than week, uneditable hu.wiki causes interwiki
conflicts and wikidata are sometimes outdated.
Granting flag on wikidtata will take one more week, from february two more
sites will use wikidata.
----------------------------------------------------------------------
Comment By: JAn (jandudik)
Date: 2013-01-10 12:29
Message:
Any news? Only few days to wikidata are used on hu.wiki
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-13 22:51
Message:
I started some basic site methods for wikidata and we could get items and
some properties by ID. Not very usefull yet but the first step. Since
wikidata isn't transcluded to any project, I decreased the priority.
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2012-11-11 12:53
Message:
I'm working on it. be patient
Thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3586247&group_…