Feature Requests item #3372200, was opened at 2011-07-20 03:02 Message generated for change (Comment added) made by binbot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3372200...
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: David Crochet (crochet_david) Assigned to: Nobody/Anonymous (nobody) Summary: replace.by and one-by-one modification
Initial Comment: When the robots need to make multiple modification in a one page, it do it all. But, in some case, some modifications not need to be done.
So add a new parametre as "-single" to tell each modification to be done in a page
----------------------------------------------------------------------
Comment By: BinĂ¡ris (binbot)
Date: 2012-02-12 11:15
Message: Replace.py calls replaceExcept() from textlib.py, but the confirmation of replacements offered by textlib.py takes place in replace.py. Therefore it would be very difficult.
But there is a way to do that with a very small programming. Please have a look at http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:Bin%C3%A1ris/Fixes_and_function..., where the first example is your friend. With a minimal rewrite of it you may confirm each modification separately. I think this is much simpler than rewrite both replace.py and textlib.py.
Is that an appropriate solution for your peoblem?
----------------------------------------------------------------------
Comment By: BinĂ¡ris (binbot) Date: 2011-07-20 04:10
Message: Hi David, by the time it will be solved within textlib.py (it has the replaceExcept() function), I warmly suggest you this tutorial that I wrote recently: http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:Bin%C3%A1ris/Fixes_and_function... Your problem is solved there. Have fun!
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3372200...
pywikipedia-bugs@lists.wikimedia.org