Patches item #3093682, was opened at 2010-10-23 14:56 Message generated for change (Settings changed) made by binbot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3093682...
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: 7
Private: No Submitted By: BinĂ¡ris (binbot) Assigned to: Nobody/Anonymous (nobody) Summary: Replace.py saves the titles to disk
Initial Comment: With this patch, replace.py can save the page titles to a file for later use. The file has a dissection line after every 100th line for readability, thus an editcounter is implemented, too.
Changes: -- Introduced two new command line argument, -save and -savenew, and an updated main() to process them -- Updated ReplaceRobot class with two new functions and edit counter, and a new parameter -- Extended help (description of new feature and one more example) -- Some code wrappings to fit in 80 characters I found because I know xqt likes them :)
This seems not too atomic (sorry for that), but except code wrappings one change causes the other, so this is one rewrite.
Tested on Python 2.5.1 Known bugs: -- Help may exceed the scrollable size of the command line window. As a matter of fact, it might exceed it previously, on my machine it was just on the limit. As a temporary solution, last line suggests to use "more". -- Editcounter will show a greater value than number of actually edited size, if put_async fails (no feedback, and put_async my run several minutes later!)
See also these threads on pywiki-l mailing list: -- Replace.py should save -- please comment -- Paging the help
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3093682...
pywikipedia-bugs@lists.wikimedia.org