Bugs item #3587728, was opened at 2012-11-15 19:23
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3587728&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: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Hazard-SJ (hazard-sj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Non-items on Wikidata cannot be edited
Initial Comment:
I've been trying to run the archivebot.py script on Wikidata, but due to a number of things, the first of which is a KeyError from wikipedia.py, it fails. I've done a number of things, including removing and modification of code from wikipedia.py to try to get into the archivebot.py script, and I believe that the error(s) I get from there are from my removals. At the moment, the problem after what I've tried is with getting the text of the page. I changed "lines = self.get().split('\n')" to "pg = pywikibot.Page(Site, self.title())" followed by "lines = pg.get().split('\n')", but pg.get() returns NoneType, and obviously as a result the splitting can't even take place.
It seems PyWikipedia was only changed for editing queries, or is part of the problem from the server's end? Thanks.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-11-18 03:24
Message:
This bug is caused by r10615
http://www.mediawiki.org/w/index.php?title=Special:Code/pywikipedia/10615&p…
----------------------------------------------------------------------
Comment By: Hazard-SJ (hazard-sj)
Date: 2012-11-15 19:23
Message:
Pywikipedia [http] trunk/pywikipedia (r10732, 2012/11/14, 21:06:52)
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=3587728&group_…
Patches item #3367839, was opened at 2011-07-15 03:11
Message generated for change (Comment added) made by mpaa
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3367839&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: lankier (lankier)
Assigned to: Nobody/Anonymous (nobody)
Summary: Retrieve / edit the section
Initial Comment:
This patch adds new parameter 'section' to Page.get & Page.put.
(See also feature requests https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3104703&group_… )
Examples:
add a new section:
page.put('New section text', comment='New section header', section='new')
edit the top section:
text = page.get(section=0)
page.put(text+'\n\n==New section==\nNew text', section=0)
----------------------------------------------------------------------
Comment By: mpaa (mpaa)
Date: 2012-11-17 13:46
Message:
It is a useful one. Was looking for it recently.
Any plans for this?
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-03-21 11:06
Message:
Housekeeper's note: the patch applies cleanly to r10035 (with some fuzz).
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-03-21 10:03
Message:
Is referring to sections by ID a good idea? Isn't it worth the extra query
to get the section ID first? (by calling action=render). We currently
'support' sections by having a Page object with title "page title#section",
and I think this is the sensible way to work with sections.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2011-07-15 11:32
Message:
Great and important contribution, I support the fast acceptation! This
feature has long been missing from Pywiki.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3367839&group_…
Feature Requests item #3588222, was opened at 2012-11-17 13:33
Message generated for change (Comment added) made by mpaa
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3588222&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: Next Release (example)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support of preload param in page.get()
Initial Comment:
Would it be nice to support 'inprop': 'preload' for 'prop': 'info' when calling query GetData() to get text even if page is does not exist.
It could be added as argument to page.get(..., preload = False) and used to return data['query']['pages']["-1"]['preload'] with something like:
if data['query']['pages'].keys()[0] == "-1":
if 'missing' in pageInfo:
if preload:
....
That would be useful when trying to get text in still not created page.
This kind of pages are quite common on en:Wikisource, due text layer being already present in used djvu files.
E.g. [Page:Debates in the Several State Conventions, v1.djvu/189].
Thanks and bye
----------------------------------------------------------------------
Comment By: mpaa (mpaa)
Date: 2012-11-17 13:37
Message:
Sorry, was logged off when submitted this.
mpaa
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3588222&group_…
Feature Requests item #3588222, was opened at 2012-11-17 13:33
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3588222&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: Next Release (example)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support of preload param in page.get()
Initial Comment:
Would it be nice to support 'inprop': 'preload' for 'prop': 'info' when calling query GetData() to get text even if page is does not exist.
It could be added as argument to page.get(..., preload = False) and used to return data['query']['pages']["-1"]['preload'] with something like:
if data['query']['pages'].keys()[0] == "-1":
if 'missing' in pageInfo:
if preload:
....
That would be useful when trying to get text in still not created page.
This kind of pages are quite common on en:Wikisource, due text layer being already present in used djvu files.
E.g. [Page:Debates in the Several State Conventions, v1.djvu/189].
Thanks and bye
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3588222&group_…
Patches item #3587830, was opened at 2012-11-16 00:55
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3587830&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: Accepted
Priority: 5
Private: No
Submitted By: masti (masti01)
>Assigned to: xqt (xqt)
Summary: weblinkchecker for et.wiki
Initial Comment:
et localisation for weblinkchecker
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-11-17 06:36
Message:
done in r10738. thanks a lot.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3587830&group_…
Bugs item #3587857, was opened at 2012-11-16 02:40
Message generated for change (Tracker Item Submitted) made by yfdyh000
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3587857&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: YFdyh000 (yfdyh000)
Assigned to: Nobody/Anonymous (nobody)
Summary: some case NamespaceFilterPageGenerator fail on template.py
Initial Comment:
template.py "Welcome" -subst -ns:3
because genFactory.gens == [], NamespaceFilterPageGenerator in getCombinedGenerator fail.
template.py -transcludes:Welcome -subst -ns:3 is OK.
Pywikipedia trunk/pywikipedia/ (r10737, 2012/11/15, 21:06:38)
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [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=3587857&group_…
Patches item #3367839, was opened at 2011-07-15 03:11
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3367839&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: lankier (lankier)
Assigned to: Nobody/Anonymous (nobody)
Summary: Retrieve / edit the section
Initial Comment:
This patch adds new parameter 'section' to Page.get & Page.put.
(See also feature requests https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3104703&group_… )
Examples:
add a new section:
page.put('New section text', comment='New section header', section='new')
edit the top section:
text = page.get(section=0)
page.put(text+'\n\n==New section==\nNew text', section=0)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-11-16 01:58
Message:
Please let me know if you're looking for a writer for your weblog. You have
some really good posts and I feel I would be a good asset. If you ever want
to take some of the load off, I'd love to write some material for your blog
in exchange for a link back to mine. Please shoot me an email if
interested. Cheers!
north face jackets clearance http://lmnblbvcgr.bloggd.org/
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-03-21 11:06
Message:
Housekeeper's note: the patch applies cleanly to r10035 (with some fuzz).
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-03-21 10:03
Message:
Is referring to sections by ID a good idea? Isn't it worth the extra query
to get the section ID first? (by calling action=render). We currently
'support' sections by having a Page object with title "page title#section",
and I think this is the sensible way to work with sections.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2011-07-15 11:32
Message:
Great and important contribution, I support the fast acceptation! This
feature has long been missing from Pywiki.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3367839&group_…
Patches item #3587830, was opened at 2012-11-16 00:55
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3587830&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: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkchecker for et.wiki
Initial Comment:
et localisation for weblinkchecker
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3587830&group_…
Bugs item #3587728, was opened at 2012-11-15 19:23
Message generated for change (Settings changed) made by hazard-sj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3587728&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: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: Hazard-SJ (hazard-sj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Non-items on Wikidata cannot be edited
Initial Comment:
I've been trying to run the archivebot.py script on Wikidata, but due to a number of things, the first of which is a KeyError from wikipedia.py, it fails. I've done a number of things, including removing and modification of code from wikipedia.py to try to get into the archivebot.py script, and I believe that the error(s) I get from there are from my removals. At the moment, the problem after what I've tried is with getting the text of the page. I changed "lines = self.get().split('\n')" to "pg = pywikibot.Page(Site, self.title())" followed by "lines = pg.get().split('\n')", but pg.get() returns NoneType, and obviously as a result the splitting can't even take place.
It seems PyWikipedia was only changed for editing queries, or is part of the problem from the server's end? Thanks.
----------------------------------------------------------------------
Comment By: Hazard-SJ (hazard-sj)
Date: 2012-11-15 19:23
Message:
Pywikipedia [http] trunk/pywikipedia (r10732, 2012/11/14, 21:06:52)
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=3587728&group_…