Patches item #3606837, was opened at 2013-03-04 19:02
Message generated for change (Tracker Item Submitted) made by hazard-sj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3606837&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: Hazard-SJ (hazard-sj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Alternative to (and per) r10976
Initial Comment:
See https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10976 and patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3606837&group_…
Bugs item #3606741, was opened at 2013-03-04 00:36
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606741&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: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: Wikidata: fail to .setitem()
Initial Comment:
I failed to setitem when using Page object to create DataPage. For example
page = pywikibot.Page(site, u"xxx")
dataPage = pywikibot.DataPage(page)
datapage.setitem(u"xxx", items={xxx})
produces an error, while
dataPage = pywikibot.DataPage(1234)
datapage.setitem(u"xxx", items={xxx})
works correctly.
Pywikipedia trunk/pywikipedia/ (r11176, 2013/03/03, 17:50:39, 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: xqt (xqt)
Date: 2013-03-04 05:06
Message:
Have a look at the manual:
http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Wikidata
You first has to call dataPage.get() or dataPage.exists() before changing
the item. This behaviour is alread know by an other bug tracker.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606741&group_…
Bugs item #3606741, was opened at 2013-03-04 00:36
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606741&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wikidata: fail to .setitem()
Initial Comment:
I failed to setitem when using Page object to create DataPage. For example
page = pywikibot.Page(site, u"xxx")
dataPage = pywikibot.DataPage(page)
datapage.setitem(u"xxx", items={xxx})
produces an error, while
dataPage = pywikibot.DataPage(1234)
datapage.setitem(u"xxx", items={xxx})
works correctly.
Pywikipedia trunk/pywikipedia/ (r11176, 2013/03/03, 17:50:39, 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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606741&group_…
Bugs item #3606638, was opened at 2013-03-02 13:18
Message generated for change (Settings changed) made by amird
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606638&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: General
Group: trunk
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Hazard-SJ (hazard-sj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Page().append() in wikipedia.py
Initial Comment:
Using the append function in the Page class in wikipedia.py, with section='new', section 0 is always prepended to that new section.
Version:
Pywikipedia trunk/pywikipedia/ (r11165, 2013/03/02, 20:13:59, ok)
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: Legoktm (legoktm)
Date: 2013-03-02 13:48
Message:
Fixed in r11166 using a different patch.
----------------------------------------------------------------------
Comment By: Hazard-SJ (hazard-sj)
Date: 2013-03-02 13:24
Message:
See patch 3606639
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606638&group_…
Bugs item #3600344, was opened at 2013-01-10 21:45
Message generated for change (Settings changed) made by amird
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600344&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: General
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Nullzer0 (nu11zer0)
Assigned to: Nobody/Anonymous (nobody)
Summary: LinkedPageGenerator does not give correct links
Initial Comment:
I noticed that when I use pagegenerators.LinkedPageGenerator with page "xyz" that contains wikilink "[[/abc]]", LinkedPageGenerator return [[/abc]] to me. However, in my opinion, it should return "[[xyz/abc]]."
Pywikipedia trunk/pywikipedia/ (r10880, 2013/01/10, 21:11:31)
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: Nullzer0 (nu11zer0)
Date: 2013-03-02 20:24
Message:
This bug is partly solved. There are still some incorrect cases. However, I
have sent a patch in Patches Tracker. It is okay to close this bug.
----------------------------------------------------------------------
Comment By: Hazard-SJ (hazard-sj)
Date: 2013-03-02 14:49
Message:
I just tried this on en.wikipedia.org and there seems to be no problem.
This can be closed.
----------------------------------------------------------------------
Comment By: Nullzer0 (nu11zer0)
Date: 2013-01-25 03:59
Message:
I solved this problem by adding following code to function linkedPages()
if title.startswith("/") or title.startswith(".."):
if title.startswith("/"): title = title[1:]
title = os.path.normpath(os.path.join(self.title(), title))
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600344&group_…
Patches item #3606639, was opened at 2013-03-02 13:23
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3606639&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: Hazard-SJ (hazard-sj)
>Assigned to: Legoktm (legoktm)
Summary: Fix for bug 3606638
Initial Comment:
Attached is a fix for bug 3606638.
----------------------------------------------------------------------
Comment By: Legoktm (legoktm)
Date: 2013-03-02 13:48
Message:
I fixed it in r11166 by changing the parameter the text was being sent in.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3606639&group_…
Bugs item #3600344, was opened at 2013-01-10 21:45
Message generated for change (Comment added) made by nu11zer0
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600344&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nullzer0 (nu11zer0)
Assigned to: Nobody/Anonymous (nobody)
Summary: LinkedPageGenerator does not give correct links
Initial Comment:
I noticed that when I use pagegenerators.LinkedPageGenerator with page "xyz" that contains wikilink "[[/abc]]", LinkedPageGenerator return [[/abc]] to me. However, in my opinion, it should return "[[xyz/abc]]."
Pywikipedia trunk/pywikipedia/ (r10880, 2013/01/10, 21:11:31)
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: Nullzer0 (nu11zer0)
Date: 2013-03-02 20:24
Message:
This bug is partly solved. There are still some incorrect cases. However, I
have sent a patch in Patches Tracker. It is okay to close this bug.
----------------------------------------------------------------------
Comment By: Hazard-SJ (hazard-sj)
Date: 2013-03-02 14:49
Message:
I just tried this on en.wikipedia.org and there seems to be no problem.
This can be closed.
----------------------------------------------------------------------
Comment By: Nullzer0 (nu11zer0)
Date: 2013-01-25 03:59
Message:
I solved this problem by adding following code to function linkedPages()
if title.startswith("/") or title.startswith(".."):
if title.startswith("/"): title = title[1:]
title = os.path.normpath(os.path.join(self.title(), title))
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600344&group_…
Bugs item #3600344, was opened at 2013-01-10 21:45
Message generated for change (Comment added) made by hazard-sj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600344&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nullzer0 (nu11zer0)
Assigned to: Nobody/Anonymous (nobody)
Summary: LinkedPageGenerator does not give correct links
Initial Comment:
I noticed that when I use pagegenerators.LinkedPageGenerator with page "xyz" that contains wikilink "[[/abc]]", LinkedPageGenerator return [[/abc]] to me. However, in my opinion, it should return "[[xyz/abc]]."
Pywikipedia trunk/pywikipedia/ (r10880, 2013/01/10, 21:11:31)
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: Hazard-SJ (hazard-sj)
Date: 2013-03-02 14:49
Message:
I just tried this on en.wikipedia.org and there seems to be no problem.
This can be closed.
----------------------------------------------------------------------
Comment By: Nullzer0 (nu11zer0)
Date: 2013-01-25 03:59
Message:
I solved this problem by adding following code to function linkedPages()
if title.startswith("/") or title.startswith(".."):
if title.startswith("/"): title = title[1:]
title = os.path.normpath(os.path.join(self.title(), title))
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600344&group_…
Bugs item #3606641, was opened at 2013-03-02 14:39
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606641&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: category
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: alchimista ()
Assigned to: Nobody/Anonymous (nobody)
Summary: category_redirect:NameError: global name 'query_type'
Initial Comment:
I'm getting the following error:
Done checking hard-redirect category pages.
Traceback (most recent call last):
File "category_redirect.py", line 579, in <module>
main()
File "category_redirect.py", line 574, in main
bot.run()
File "category_redirect.py", line 409, in run
prop='info|categoryinfo'):
File "category_redirect.py", line 266, in query_results
querydata.update(result['query-continue'][query_type])
NameError: global name 'query_type' is not defined
Last January week it runned fine, so it's provably related to some change on other file in the meanwhile.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3606641&group_…
Patches item #3606639, was opened at 2013-03-02 13:23
Message generated for change (Comment added) made by legoktm
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3606639&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: Hazard-SJ (hazard-sj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for bug 3606638
Initial Comment:
Attached is a fix for bug 3606638.
----------------------------------------------------------------------
Comment By: Legoktm (legoktm)
Date: 2013-03-02 13:48
Message:
I fixed it in r11166 by changing the parameter the text was being sent in.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3606639&group_…