Feature Requests item #1659426, was opened at 2007-02-14 02:33
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1659426&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: Pending
Priority: 5
Private: No
Submitted By: Mohamed M. Kassem (alnokta)
Assigned to: Nobody/Anonymous (nobody)
Summary: Adding reconnect on disconnect to replace.py
Initial Comment:
I want to add automatic reconnect on socket errors & connection was reset errors.. because now, replace.py crashes and stop working whenever it cannot connect..so it needs to retry for a given number of times, then sleep for a while if it cannot connect.. then it retries again.. and again and again...not to give me the ugly "socket.error: (10054, 'Connection reset by peer')" error... thanks in advance..
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 18:24
Message:
Please let us know if this feature request is still applicable to the
current code. If no response is given, the feature request will be denied
and the issue will be closed in two weeks from now. This message was added
in an effort to reduce the number of open issues on this project.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1659426&group_…
Feature Requests item #1449313, was opened at 2006-03-14 03:12
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1449313&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: Pending
Priority: 5
Private: No
Submitted By: Pedro Sanchez (drini)
Assigned to: Nobody/Anonymous (nobody)
Summary: -except for template.py
Initial Comment:
While I was substing some templates I've been requested
not to subst on certain pages, which makes things hard
as template.py doens't support -except like replace.py
does.
Would it be difficult to implement it?
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 18:13
Message:
Please let us know if this feature request is still applicable to the
current code. If no response is given, the feature request will be denied
and the issue will be closed in two weeks from now. This message was added
in an effort to reduce the number of open issues on this project.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1449313&group_…
Feature Requests item #1442725, was opened at 2006-03-03 22:06
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1442725&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: Interface Improvements
Group: None
>Status: Pending
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py for listdriven processing?
Initial Comment:
After understanding the basic documentation of
category.py I used it to move all articles of oldcategory
to a newcategory.
As I do such categorywork I review the articles in
oldcategory and come up with a csv-list prepared in EXCEL
with two columns ARTICLE and destination category.
Would it be possible to give category.py two parameters:
1. Sourcecategory to be removed
2. name of textfile that contains the 2 rows
category.py or categoryX.py should do then:
For alle articles in the textfile
remove the Sourcecategory
add the destination category as given in textfile
This would be a great help in category-work.
I don't know wether this is a new feature request or
should be possible with existing category.py, but I
mean documention does not stipulate that this is possible.
Kind regards
Ollio (de-wiki)
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 18:10
Message:
Please let us know if this feature request is still applicable to the
current code. If no response is given, the feature request will be denied
and the issue will be closed in two weeks from now. This message was added
in
an effort to reduce the number of open issues on this project.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1442725&group_…
Bugs item #1754881, was opened at 2007-07-16 18:47
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1754881&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: Out of Date
Priority: 5
Private: No
Submitted By: Tomasz Sienicki (tsca)
Assigned to: Nobody/Anonymous (nobody)
Summary: self.interwiki_text_separator & interwiki attop
Initial Comment:
When interwiki links are added attop, the self.interwiki_text_separator variable should be set to '' (instead of '\r\n\r\n').
The setting as it is now ('\r\n\r\n') causes empty lines to appear at the top of the articles.
Alternatively this could be configurable per project (though I don't believe any project would want their entries to begin with two empty lines).
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 17:58
Message:
Possibly changed in r6172
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2007-07-17 05:12
Message:
Logged In: YES
user_id=46450
Originator: NO
These settings are imho not correctly object-oriented, which is wrong, or
bad style, which should be changed.
Imho, it is ok to have these settings be set per family, as it is
currently done.
But, they should be inherited by the language/wiki, which isn't currently
so
Finally any specific wiki project should be able to alter them
individually, which is currently impossible.
Also, the separator treatment is currently wrong. As it happens to be,
separators get accidentally removed, since they are made up from a number
of \r's and \n's, which get stripped anyway. If you alter the separator,
this is no more the case, and interwiki.py / categories.py move all
existing separators to one place, and add one or two new separators upon
each invocation. This is imho highly undesirable.
I suggest to correctly remove existing separators together with the
categories / interwikies, when they are removed, and insert exactly one of
them, when categories / interwikies are inserted, or reinserted.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1754881&group_…
Bugs item #1757704, was opened at 2007-07-20 19:32
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1757704&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: Pending
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py add/move (WARNING: No text area found)
Initial Comment:
Strange behavior with -category.py add- and -category.py move- on a non-mediawiki family.
Sequence of events is as follows:
1. command: $ python category.py move # or add
2. Changing page [[en:Ddx:Acquired Cardiac Valve Disease]]
3. "WARNING: No text area found on en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit .
Maybe the server is down. Retrying in 1 minutes..." ... which results in an endless loop of warning and waiting (see below) though the server is not down
4. I look at [[Ddx:Acquired Cardiac Valve Disease]] via firefox, the category links have been moved/changed successfully (though not for other pages).
Questions: why is there a warning when the action is successful? Also, how to allow the script to go on to the next page of the several?
See below for BASH output (wiki is http://www.wikidoc.org, bot is running as Jackbot, using CVS version of pywikipediabot updated 7.19.07, mediawiki version 1.9.3).
$ python category.py move
Checked for running processes. 1 processes currently running, including the current process.
Reading dump from category.dump.bz2
Please enter the old name of the category: Ddx
Please enter the new name of the category: Signs and Symptoms
Getting [[Category:Ddx]]...
Getting 60 pages from wikidoc:en...
Sleeping for 5.7 seconds, 2007-07-20 13:02:42
Getting a page to check if we're logged in on wikidoc:en
Changing page [[en:Ddx:Acne]]
WARNING: No text area found on en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit.
Maybe the server is down. Retrying in 1 minutes...
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
File "category.py", line 816, in <module>
bot.run()
File "category.py", line 352, in run
catlib.change_category(article, self.oldCat, newCat, inPlace=self.inPlace)
File "/home/jburos/pywikipediabot/pywikipedia/catlib.py", line 447, in change_category
article.put(text, comment)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 1095, in put
return self.putPage(newtext, comment, watchArticle, minorEdit, newPage, self.site().getToken(sysop = sysop), sysop = sysop)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 1185, in putPage
elif self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 3439, in has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 3407, in mediawiki_message
time.sleep(retry_idle_time * 60)
KeyboardInterrupt
$ python category.py add
Checked for running processes. 1 processes currently running, including the current process.
Reading dump from category.dump.bz2
Wiki page with list of pages to change: Testpages
==> 3 pages to process
Category to add (do not give namespace): Signs and Symptoms
[[Ddx:Acne]] [y/n/a(ll)]: n
[[Ddx:Acquired Cardiac Valve Disease]] [y/n/a(ll)]: y
Current categories:
* Category:Ddx
* Category:Cardiac Disease
Adding [[Category:Signs and Symptoms]]
Getting a page to check if we're logged in on wikidoc:en
Changing page [[en:Ddx:Acquired Cardiac Valve Disease]]
WARNING: No text area found on en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit.
Maybe the server is down. Retrying in 1 minutes...
WARNING: No text area found on en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit.
Maybe the server is down. Retrying in 2 minutes...
WARNING: No text area found on en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit.
Maybe the server is down. Retrying in 4 minutes...
Checked for running processes. 1 processes currently running, including the current process.
WARNING: No text area found on en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit.
Maybe the server is down. Retrying in 8 minutes...
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
File "category.py", line 804, in <module>
add_category(sort_by_last_name)
File "category.py", line 326, in add_category
page.put(text)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 1095, in put
return self.putPage(newtext, comment, watchArticle, minorEdit, newPage, self.site().getToken(sysop = sysop), sysop = sysop)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 1185, in putPage
elif self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 3439, in has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 3407, in mediawiki_message
time.sleep(retry_idle_time * 60)
KeyboardInterrupt
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 17:32
Message:
Tell us whether this bug is still valid. There where a lot of changes since
your request.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1757704&group_…
Bugs item #1846456, was opened at 2007-12-07 21:30
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1846456&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: Out of Date
Priority: 5
Private: No
Submitted By: AnMaster (anmaster)
Assigned to: xqt (xqt)
Summary: Bad edit by table2wiki.py in <pre>
Initial Comment:
As can be seen in http://gentoo-wiki.com/index.php?title=HOWTO_Use_MRTG_with_a_D-Link_Switch_…
pywikipediabot did a bad edit, it changed a table inside <pre>. That should not be done as it is likely to be an example of HTML code.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 17:18
Message:
nothing to see on the given page
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1846456&group_…
Bugs item #2011802, was opened at 2008-07-06 17:18
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011802&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: Out of Date
Priority: 5
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: cannot find mw messages when deleting page in zhwiki
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r5680, Jul 06 2008, 10:31:36)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
When I use speedy_delete.py to delete pages and images, current code cannot find mediawiki messages "actioncomplete" or "cannotdelete", it will return "Deletion of [[xxx]]] failed for an unknown reason." and print all HTML code.(pages look like "page is delete")
I checked current HTML in zhwiki(I only can use delete action in zhwiki) it these messages are not exist.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 17:08
Message:
I guess this is out of date and works through API now
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011802&group_…
Bugs item #2013579, was opened at 2008-07-08 17:10
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2013579&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Nightshadow28 (nightshadow28)
Assigned to: Nobody/Anonymous (nobody)
Summary: blockedpageschecker often aborts with "API problem".
Initial Comment:
blockedpageschecker often aborts with "API problem" at unsettled article.
Japanese Wikipedia often has slowly response now, so the bot may fail not to be handling some exception.
-----
Loading [[B'z The Best "ULTRA Treasure"]]...
Traceback (most recent call last):
File "/home/John_Doe/pywikipedia-new/pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "blockpageschecker.py", line 400, in <module>
main()
File "blockpageschecker.py", line 257, in main
restrictions = page.getRestrictions()
File "/home/John_Doe/pywikipedia/wikipedia.py", line 1165, in getRestrictions
raise Error("BUG> API problem.")
wikipedia.Error: BUG> API problem.
John_Doe@hogehoge:~/pywikipedia$
oading [[トヨタテクニカルディベãƒãƒƒãƒ—メント]]...
Traceback (most recent call last):
File "/home/John_Doe/pywikipedia-new/pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "blockpageschecker.py", line 400, in <module>
main()
File "blockpageschecker.py", line 257, in main
restrictions = page.getRestrictions()
File "/home/John_Doe/pywikipedia/wikipedia.py", line 1165, in getRestrictions
raise Error("BUG> API problem.")
wikipedia.Error: BUG> API problem.
John_Doe@hogehoge:~/pywikipedia$
-----
Pywikipedia [http] trunk/pywikipedia (r5693, Jul 08 2008, 12:26:17)
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 17:02
Message:
As actual release is r7489, is this bug is still valid?
----------------------------------------------------------------------
Comment By: Nightshadow28 (nightshadow28)
Date: 2008-07-08 17:13
Message:
Logged In: YES
user_id=1971526
Originator: YES
I attached traceback as text file on SF. Thanks.
File Added: blockepageschecker.txt
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2013579&group_…
Bugs item #2114782, was opened at 2008-09-16 21:47
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2114782&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: Melancholie (melancholie)
>Assigned to: xqt (xqt)
Summary: featured.py stars nonfeatured articles, if link on talk page
Initial Comment:
featured.py seems to star non-featured articles, when a link pointing to the template is on talk page (if using BACK method).
It seems that featured.py doesn't filter out links and redirects from Special:WhatLinksHere (&hidelinks=1&hideredirs=1).
See:
* http://de.wikipedia.org/w/index.php?title=Br%C3%BCcke_von_Arta&diff=prev&ol…
* http://el.wikipedia.org/wiki/%CE%A3%CF%85%CE%B6%CE%AE%CF%84%CE%B7%CF%83%CE%… (talk page; article itself never contained template)
* http://el.wikipedia.org/wiki/%CE%95%CE%B9%CE%B4%CE%B9%CE%BA%CF%8C:WhatLinks…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 16:58
Message:
done in r7489
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 10:36
Message:
Does this require a patch, is this not a bug, or what needs to be done to
get this resolved?
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-09-16 21:54
Message:
Note that I have changed the talk page for the moment, as workaround [if
true, next run will show]:
http://el.wikipedia.org/w/index.php?title=%CE%A3%CF%85%CE%B6%CE%AE%CF%84%CE…
So, WhatLinksHere won't show "Talk:FooBarArticle" anymore...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2114782&group_…
Bugs item #2485193, was opened at 2009-01-04 10:58
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485193&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: Murph (pauljmurph)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py: Patch: Ignore variations in newlines on new/old
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6219, Jan 03 2009, 14:34:49)
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]
The standard replace.py has a habit of showing a file as having changed, but with zero changes if a \r\n has been changed to \n by one of the patterns. Solution: treat \r\n as \n in the comparison to determine if any changes have been made.
Patch attached.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-02-22 17:15
Message:
Reverted in r6412.
While I understand the issue here, the patch was not the right solution.
strip()-ing the text gives unwanted behavior: let's say you wanted to do
changes such as "^\r\n" "" ! Well, with that patch, that wasn't possible
anymore.
Maybe you could help us giving a special test case where the output is
annoying, so we can fix properly the issue? Replace.py is one of the most
used scripts here, having the best possible behavior matters to us.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 09:45
Message:
Applied in r6296. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485193&group_…