Support Requests item #2823916, was opened at 2009-07-20 00:40
Message generated for change (Settings changed) made by lin4h
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2823916&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
>Priority: 7
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: Edit Pages through API
Initial Comment:
I had completed to make wikipedia.py.page()._putPage() can put pages through API,(in the patch file) but It's too big. I need someone to help debug it.
Some error code cannot handle like server database lag... etc
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2823916&group_…
Bugs item #2822705, was opened at 2009-07-16 21:57
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822705&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: 6
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: ar-wiki crossing namespace
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7067, 2009/07/15, 19:25:32)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
Please give the ability for crossing namespace to ar-wiki. The reason is on
ar-wiki all pages of years are seated in the namespace 104 whereas on all
other projects they didn't.
See http://ar.wikipedia.org/wiki/%D9%85%D9%84%D8%AD%D9%82:1347 for example.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-07-19 19:01
Message:
Raising the priority due to malfunction of the bots., see
http://de.wikipedia.org/w/index.php?title=2009&action=history
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822705&group_…
Support Requests item #2823916, was opened at 2009-07-20 00:40
Message generated for change (Tracker Item Submitted) made by lin4h
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2823916&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
Priority: 5
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: Edit Pages through API
Initial Comment:
I had completed to make wikipedia.py.page()._putPage() can put pages through API,(in the patch file) but It's too big. I need someone to help debug it.
Some error code cannot handle like server database lag... etc
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2823916&group_…
Bugs item #2823378, was opened at 2009-07-18 00:47
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2823378&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: 8
Private: No
Submitted By: siebrand (siebrand)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py crashes against latest MediaWiki (r53425)
Initial Comment:
Replace.py crashes against MediaWiki r53425 with the following error after the first edit. I tried r7000, r7060 and 7075. Neither works. My guess is MediaWiki pages changed and now screen scraping is broken. Tried against -family:i18n -lang:i18n
Changing page [[MediaWiki:Optin-improvements/tr]]
Traceback (most recent call last):
File "replace.py", line 705, in <module>
main()
File "replace.py", line 701, in main
bot.run()
File "replace.py", line 429, in run
page.put(new_text, self.editSummary)
File "/home/siebrand/i18n/wikipedia.py", line 1424, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
File "/home/siebrand/i18n/wikipedia.py", line 1560, in _putPage
if self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/siebrand/i18n/wikipedia.py", line 5053, in has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/siebrand/i18n/wikipedia.py", line 5021, in mediawiki_message
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: syntax error: line 1, column 0
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-07-18 00:47
Message:
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7075, 2009/07/17, 20:29:14)
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2823378&group_…
Bugs item #2823378, was opened at 2009-07-18 00:47
Message generated for change (Tracker Item Submitted) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2823378&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: 8
Private: No
Submitted By: siebrand (siebrand)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py crashes against latest MediaWiki (r53425)
Initial Comment:
Replace.py crashes against MediaWiki r53425 with the following error after the first edit. I tried r7000, r7060 and 7075. Neither works. My guess is MediaWiki pages changed and now screen scraping is broken. Tried against -family:i18n -lang:i18n
Changing page [[MediaWiki:Optin-improvements/tr]]
Traceback (most recent call last):
File "replace.py", line 705, in <module>
main()
File "replace.py", line 701, in main
bot.run()
File "replace.py", line 429, in run
page.put(new_text, self.editSummary)
File "/home/siebrand/i18n/wikipedia.py", line 1424, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
File "/home/siebrand/i18n/wikipedia.py", line 1560, in _putPage
if self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/siebrand/i18n/wikipedia.py", line 5053, in has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/siebrand/i18n/wikipedia.py", line 5021, in mediawiki_message
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: syntax error: line 1, column 0
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2823378&group_…
Bugs item #2821636, was opened at 2009-07-15 06:07
Message generated for change (Comment added) made by silvonen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2821636&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: 7
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interwiki run terminates with KeyError in wikipedia.py
Initial Comment:
> python interwiki.py -autonomous -lang:fi -namespace:0 -start:"Rjazanin alue"
NOTE: Number of pages queued is 0, trying to add 60 more.
Dump fi (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 2156, in <module>
bot.run()
File "interwiki.py", line 1865, in run
self.queryStep()
File "interwiki.py", line 1838, in queryStep
self.oneQuery()
File "interwiki.py", line 1806, in oneQuery
site = self.selectQuerySite()
File "interwiki.py", line 1780, in selectQuerySite
self.generateMore(globalvar.maxquerysize - mycount)
File "interwiki.py", line 1711, in generateMore
page = self.pageGenerator.next()
File "c:\svn\pywikipedia\pagegenerators.py", line 711, in NamespaceFilterPageGenerator
for page in generator:
File "c:\svn\pywikipedia\pagegenerators.py", line 729, in DuplicateFilterPageGenerator
for page in generator:
File "c:\svn\pywikipedia\pagegenerators.py", line 254, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredirects = includeredirects):
File "c:\svn\pywikipedia\wikipedia.py", line 5644, in allpages
for p in data['query']['allpages']:
KeyError: 'query'
> python version.py
Pywikipedia [http] trunk/pywikipedia (r7065, 2009/07/14, 19:34:51)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-07-17 19:53
Message:
PS. Line 5644 of wikipedia.py was added in r7063 on Tuesday:
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=7063
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-07-17 06:43
Message:
Giving this a bit more priority, as this makes interwiki.py unusable.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2821636&group_…
Bugs item #2821636, was opened at 2009-07-15 06:07
Message generated for change (Comment added) made by silvonen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2821636&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: 7
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interwiki run terminates with KeyError in wikipedia.py
Initial Comment:
> python interwiki.py -autonomous -lang:fi -namespace:0 -start:"Rjazanin alue"
NOTE: Number of pages queued is 0, trying to add 60 more.
Dump fi (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 2156, in <module>
bot.run()
File "interwiki.py", line 1865, in run
self.queryStep()
File "interwiki.py", line 1838, in queryStep
self.oneQuery()
File "interwiki.py", line 1806, in oneQuery
site = self.selectQuerySite()
File "interwiki.py", line 1780, in selectQuerySite
self.generateMore(globalvar.maxquerysize - mycount)
File "interwiki.py", line 1711, in generateMore
page = self.pageGenerator.next()
File "c:\svn\pywikipedia\pagegenerators.py", line 711, in NamespaceFilterPageGenerator
for page in generator:
File "c:\svn\pywikipedia\pagegenerators.py", line 729, in DuplicateFilterPageGenerator
for page in generator:
File "c:\svn\pywikipedia\pagegenerators.py", line 254, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredirects = includeredirects):
File "c:\svn\pywikipedia\wikipedia.py", line 5644, in allpages
for p in data['query']['allpages']:
KeyError: 'query'
> python version.py
Pywikipedia [http] trunk/pywikipedia (r7065, 2009/07/14, 19:34:51)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: Mikko Silvonen (silvonen)
Date: 2009-07-17 06:43
Message:
Giving this a bit more priority, as this makes interwiki.py unusable.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2821636&group_…
Bugs item #2822814, was opened at 2009-07-17 02:02
Message generated for change (Tracker Item Submitted) made by mcknol
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822814&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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Maurits (mcknol)
Assigned to: Nobody/Anonymous (nobody)
Summary: self-interwikis shouldn't be removed
Initial Comment:
Interwiki.py removes every internal link which refers to the own language site. For example, in en.wiki a link like [[en:article]] would be removed by the bot. This seems logical (the main syntax for non-interwiki interlanguage links would be [[:en:article]]), but the wiki-software doesn't interpret self-links as interwiki-links, so the pywikipedia-bot should neither do that.
Here is an example: http://en.wikipedia.org/w/index.php?title=Help:Parser_function&diff=2907957…
Pywikipedia [http] trunk/pywikipedia (r7065, 2009/07/14, 19:34:51)
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822814&group_…
Bugs item #2822705, was opened at 2009-07-16 21:57
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822705&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: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: ar-wiki crossing namespace
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7067, 2009/07/15, 19:25:32)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
Please give the ability for crossing namespace to ar-wiki. The reason is on
ar-wiki all pages of years are seated in the namespace 104 whereas on all
other projects they didn't.
See http://ar.wikipedia.org/wiki/%D9%85%D9%84%D8%AD%D9%82:1347 for example.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822705&group_…