jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  When the modification removes part of a word, such as replacing 
Pywikipediabot with Pywikibot, the removed text is shown as red in the old 
line, but the entire new line is highlighted in green.  This can be visually 
distracting.
  
    $ python pwb.py replace -family:mediawiki -lang:mediawiki 
-page:"Manual:Pywikibot/Compat/picasacopier.py" Pywikipediabot Pywikibot
    setting username JVbot for mediawiki:mediawiki
    The summary message for the command line replacements will be something 
like: Bot: Automated text replacement  (-Pywikipediabot +Pywikibot)
    Press Enter to use this automatic message, or enter a description of the
    changes your bot will make: 
    Retrieving 1 pages from mediawiki:mediawiki.
    
    
    >>> Manual:Pywikibot/Compat/picasacopier.py <<<
    @@ -7 +7 @@
    - Picasacopier is part of Pywikipedia. You first need to install 
pywikipedia. At [[Pywiki**pedia**bot/Basic use|Using the python wikipediabot]] 
you can find a manual on how to install pywikipedia. SVN install is 
recommended. 
    + **Picasacopier is part of Pywikipedia. You first need to install 
pywikipedia. At [[Pywikibot/Basic use|Using the python wikipediabot]] you can 
find a manual on how to install pywikipedia. SVN install is recommended. **
    
    Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in 
[b]rowser, [a]ll, [q]uit): N
  
  An alternative is to not highlight any of the new line.
  Are there any other ways of handling this scenario used by other colorized 
diff terminal interfaces?

TASK DETAIL
  https://phabricator.wikimedia.org/T130572

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to