https://bugzilla.wikimedia.org/show_bug.cgi?id=55059
Web browser: --- Bug ID: 55059 Summary: Introducing "more" in replace.py Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/260/ Reported by: binbot Created on: 2010-08-24 09:32:57 Subject: Introducing "more" in replace.py Original description: In solve_sisambiguation.py I can use "more" option to see a wider environment of the selected text. Repeating this, I see more and more of the text. Would it be possible to implement this useful option in replace.py, too? Sometimes I need it very much, when the text is in a short line. I can open the article in editor or browser, but it is too slow, and not always necessary. Pressing "m" as in solve_sisambiguation.py would be much faster.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55059
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/feature-reque | |sts/260
https://bugzilla.wikimedia.org/show_bug.cgi?id=55059
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Low CC| |ladsgroup@gmail.com
https://bugzilla.wikimedia.org/show_bug.cgi?id=55059
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@openmailbox.or | |g
--- Comment #1 from Ricordisamoa ricordisamoa@openmailbox.org --- A similar system is also implemented in unlink.py and category.py. What about creating a centralized function for that?
https://bugzilla.wikimedia.org/show_bug.cgi?id=55059
wikiposta@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wikiposta@gmail.com
--- Comment #2 from wikiposta@gmail.com --- I am afraid it wouldn't be simple as the underlying displaying mechanisms are quite different. That's why I reported it and didn't solve yet. As far as I remember, in case of replace.py replaceExcept from textlib.py does the modification and returns new text, then the caller calls showDiff to display portion of old and new text and asks the user to decide whether or not to change. Perhaps shoDiff should be avoked repeatedly with another parameter. Solve_disambiguatin has a displaying mechanism on its own, no showDiff.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55059
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|General |Other scripts
pywikipedia-bugs@lists.wikimedia.org