"Jorm (WMF)" posted a comment on MediaWiki.r106884.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/106884#c28165

Commit summary for MediaWiki.r106884:

Followup r105280
For bug 33139 "Swapping colors in new diff color scheme"

* Modified diff colorscheme to yellow[orange]/blue[blue]
  - These colors attempt to address the following issues with diffs:
    - Colorblindness (Protanopia/Deuteranopia)
    - Cultural meaning of color (e.g., "green is good, therefore this diff is 
better")
* Bumped font size up overall (actually, just removed the smaller)
* Removed dotted line around difftext

Jorm (WMF)'s comment:

Revisions are morally "neutral" - there is no objective statement "this version 
is better than that version."  The color green, however, is ''not'' morally 
neutral - it is a strong psychological indicator of "good," "correct," 
"successful," etc.  Having either side show as green is thus problematic:  if 
we color the "old" diff green, then we are saying that the old diff is 
"better".  Likewise the inverse: the next revision may not be better.

Using the color "red" or other variants has a similar problem but in the 
opposite direction: red things are generally perceived as bad or stressful.  So 
we have to avoid red as well.

That leaves us the colors: blue, yellow, purple, and orange.  Since 
colorblindness will cause purples and violets to shift into blues, that doesn't 
work.  Blue and orange are actually ideal and don't shift, but since they are 
opposites on the color wheel having them stack next to each other causes the 
eye to see vibrations and cause them to tire.  A combination of purple and 
yellow will have the exact same problem.

That leaves us with a combination of yellow and blue.  Since people are already 
used to yellow on the "previous" diff, and they are already used to a "cool" 
color for the "next" diff, simply using blue there is the easiest and most 
conservative choice.


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to