Feature Requests item #2168298, was opened at 2008-10-15 12:00
Message generated for change (Settings changed) made by purodha
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2168298&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: Closed
Priority: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Purodha B Blissenbach (purodha)
Summary: add -hint:latin to interwiki.py
Initial Comment:
interwiki.py already supports -hint:cyril so as to select all wikis of a familiy using the cyrillic script.
Adding -hint:latin only appears logical, an will be useful e.g. when dealing with proper names that
can most often be expected to be spellt alike in almost all languages using the Latin script.
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2008-11-03 03:35
Message:
Done with R5978.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2168298&group_…
Bugs item #2137018, was opened at 2008-09-29 23:06
Message generated for change (Comment added) made by purodha
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2137018&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: Purodha B Blissenbach (purodha)
>Assigned to: Purodha B Blissenbach (purodha)
Summary: special_page_limit not honored
Initial Comment:
In the config, I have:
special_page_limit = 5000
but my recentechanges bot only operates on 1000 entries, then it stops. Maybe, the limitation
is within MediaWiki, or the bot must be run with
admin powers or something else, I have not
investigated.
I do not really know, when this was changed, but
some months ago, it would work as expected, and
nothing was changed in the config file since.
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2008-11-21 10:51
Message:
Fixed in r...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2137018&group_…
Feature Requests item #2317737, was opened at 2008-11-20 16:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2317737&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: esperanza1936 (esperanza1936)
Assigned to: Nobody/Anonymous (nobody)
Summary: use standard pagegenerators in delete.py
Initial Comment:
In order to work with -unusedfiles for instance
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2317737&group_…
Bugs item #2091292, was opened at 2008-09-03 16:58
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2091292&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: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: shizhao (wikishizhao)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py NameError
Initial Comment:
run interwiki.py can't changing page:
======Post-processing [[zh:中国共产党领导人世代]]======
Updating links on page [[zh:中国共产党领导人世代]].
Changes to be made: 移除: [[ja:第四世代]]
- [[ja:第四世代]]
ERROR: Found incorrect link to ja in [[zh:中国共产党领导人世代]]
NOTE: Updating live wiki...
Changing page [[zh:中国共产党领导人世代]]
Dump zh (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 1735, in <module>
bot.run()
File "interwiki.py", line 1486, in run
self.queryStep()
File "interwiki.py", line 1465, in queryStep
subj.finish(self)
File "interwiki.py", line 1053, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1204, in replaceLinks
status, reason, data = page.put(newtext, comment = wikipedia.translate(page.site().lang, msg)[0] + mods)
File "/home/shizhao/pywikipedia/wikipedia.py", line 1300, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop)
File "/home/shizhao/pywikipedia/wikipedia.py", line 1386, in _putPage
response, data = self.site().postForm(address, predata, sysop)
File "/home/shizhao/pywikipedia/wikipedia.py", line 4326, in postForm
cookies=self.cookies(sysop = sysop))
File "/home/shizhao/pywikipedia/wikipedia.py", line 4377, in postData
return self.postData(address, data, contentType, sysop, useCookie, compress, cookie)
NameError: global name 'useCookie' is not defined
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-11-20 04:45
Message:
yeah, so right. Fixed in r6108. =)
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2008-11-20 04:00
Message:
Yet another comment: Has the cookie parameter on the line
return self.postData(address, data, contentType, sysop, compress, cookie)
been defined anywhere, or should it be spelled "cookies"? Well, I'll add a
new bug report if the script still crashes...
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-11-19 13:01
Message:
true silvonen, we can. Fix applied in r6107, thanks for letting us know !
By the way shizao, considering the line number mismatch, you seem to be
running some quite old code =)
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2008-11-18 20:18
Message:
I don't understand the logic of the code, but can we simply remove the
useCookie parameter from the following line of code? The postData method
seems to be calling itself with too many parameters.
return self.postData(address, data, contentType, sysop, useCookie,
compress, cookie)
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2008-11-18 20:05
Message:
I still got this error with r6103 (see 2310437 for details), and in my case
the bot did not continue.
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2008-09-16 15:53
Message:
I also had this message sometimes but not a fatal error (i.e., the bot
displayed the message but continued processing).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2091292&group_…
Bugs item #2091292, was opened at 2008-09-03 17:58
Message generated for change (Comment added) made by silvonen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2091292&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: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: shizhao (wikishizhao)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py NameError
Initial Comment:
run interwiki.py can't changing page:
======Post-processing [[zh:中国共产党领导人世代]]======
Updating links on page [[zh:中国共产党领导人世代]].
Changes to be made: 移除: [[ja:第四世代]]
- [[ja:第四世代]]
ERROR: Found incorrect link to ja in [[zh:中国共产党领导人世代]]
NOTE: Updating live wiki...
Changing page [[zh:中国共产党领导人世代]]
Dump zh (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 1735, in <module>
bot.run()
File "interwiki.py", line 1486, in run
self.queryStep()
File "interwiki.py", line 1465, in queryStep
subj.finish(self)
File "interwiki.py", line 1053, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1204, in replaceLinks
status, reason, data = page.put(newtext, comment = wikipedia.translate(page.site().lang, msg)[0] + mods)
File "/home/shizhao/pywikipedia/wikipedia.py", line 1300, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop)
File "/home/shizhao/pywikipedia/wikipedia.py", line 1386, in _putPage
response, data = self.site().postForm(address, predata, sysop)
File "/home/shizhao/pywikipedia/wikipedia.py", line 4326, in postForm
cookies=self.cookies(sysop = sysop))
File "/home/shizhao/pywikipedia/wikipedia.py", line 4377, in postData
return self.postData(address, data, contentType, sysop, useCookie, compress, cookie)
NameError: global name 'useCookie' is not defined
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2008-11-20 05:00
Message:
Yet another comment: Has the cookie parameter on the line
return self.postData(address, data, contentType, sysop, compress, cookie)
been defined anywhere, or should it be spelled "cookies"? Well, I'll add a
new bug report if the script still crashes...
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-11-19 14:01
Message:
true silvonen, we can. Fix applied in r6107, thanks for letting us know !
By the way shizao, considering the line number mismatch, you seem to be
running some quite old code =)
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2008-11-18 21:18
Message:
I don't understand the logic of the code, but can we simply remove the
useCookie parameter from the following line of code? The postData method
seems to be calling itself with too many parameters.
return self.postData(address, data, contentType, sysop, useCookie,
compress, cookie)
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2008-11-18 21:05
Message:
I still got this error with r6103 (see 2310437 for details), and in my case
the bot did not continue.
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2008-09-16 16:53
Message:
I also had this message sometimes but not a fatal error (i.e., the bot
displayed the message but continued processing).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2091292&group_…
Bugs item #2315533, was opened at 2008-11-19 14:07
Message generated for change (Settings changed) made by djbarrett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2315533&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: Daniel Barrett (djbarrett)
Assigned to: Nobody/Anonymous (nobody)
>Summary: category.py breaks articles with includeonly and noinclude
Initial Comment:
This is a DEADLY bug that wrecks wiki structure.
I ran "python category.py" to rename one category to another. For articles containing <includeonly> and <noinclude> statements, pywikipedia made incorrect changes. When renaming category B to category C, the text:
<includeonly>[[Category:A]]</includeonly><noinclude>[[Category:B]]</noinclude>
becomes:
<includeonly></includeonly><noinclude></noinclude>
[[Category:C]]
In other words, it completely removed category A, and when renaming category B, placed the new category tag outside the noinclude tags.
This wrecked a complicated category structure.
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r6088, Nov 12 2008, 11:19:15)
Python 2.4.3 (#1, May 24 2008, 13:57:05)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2315533&group_…
Bugs item #2315533, was opened at 2008-11-19 14:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2315533&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: Daniel Barrett (djbarrett)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py fails with includeonly and noinclude
Initial Comment:
This is a DEADLY bug that wrecks wiki structure.
I ran "python category.py" to rename one category to another. For articles containing <includeonly> and <noinclude> statements, pywikipedia made incorrect changes. When renaming category B to category C, the text:
<includeonly>[[Category:A]]</includeonly><noinclude>[[Category:B]]</noinclude>
becomes:
<includeonly></includeonly><noinclude></noinclude>
[[Category:C]]
In other words, it completely removed category A, and when renaming category B, placed the new category tag outside the noinclude tags.
This wrecked a complicated category structure.
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r6088, Nov 12 2008, 11:19:15)
Python 2.4.3 (#1, May 24 2008, 13:57:05)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2315533&group_…