Last modified: 2012-08-14 11:37:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35139, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33139 - New diff color scheme, in response to r106884.
New diff color scheme, in response to r106884.
Status: RESOLVED DUPLICATE of bug 11374
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Brandon Harris
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-14 23:37 UTC by Erwin Dokter
Modified: 2012-08-14 11:37 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch for mediawiki.action.history.diff.css (953 bytes, patch)
2011-12-14 23:37 UTC, Erwin Dokter
Details
Patch for mediawiki.action.history.diff.css (1.05 KB, patch)
2011-12-15 11:08 UTC, Erwin Dokter
Details
Patch for mediawiki.action.history.diff.css (1.22 KB, patch)
2011-12-16 10:48 UTC, Erwin Dokter
Details
Patch for mediawiki.action.history.diff.css (1.16 KB, patch)
2011-12-21 01:34 UTC, Erwin Dokter
Details
Patch for mediawiki.action.history.diff.css (1.16 KB, patch)
2011-12-21 01:45 UTC, Erwin Dokter
Details
Patch for mediawiki.action.history.diff.css (1.16 KB, patch)
2011-12-21 19:18 UTC, Erwin Dokter
Details

Description Erwin Dokter 2011-12-14 23:37:22 UTC
Created attachment 9704 [details]
Patch for mediawiki.action.history.diff.css

Patch to swicth the new diff colors around: left side blue, right side green. Also restore #eee background for context lines. As discussed on r105280.
Comment 1 Erwin Dokter 2011-12-15 11:08:27 UTC
Created attachment 9709 [details]
Patch for mediawiki.action.history.diff.css

Remove outline for .diffchange and redundant CSS.
Comment 2 Antoine "hashar" Musso (WMF) 2011-12-15 11:40:29 UTC
Will review this patch. There is some discussion on r105280, we probably want to reach a consensus before applying the patch though.
Comment 3 Erwin Dokter 2011-12-15 12:26:29 UTC
Hold on for a bit... I have another patch up for review.
Comment 4 Erwin Dokter 2011-12-16 10:48:09 UTC
Created attachment 9723 [details]
Patch for mediawiki.action.history.diff.css

Further tweaks: whole cell is now pre-wrap, removed dotted outline.
Comment 5 Rob Lanphier 2011-12-20 20:08:54 UTC
Assigning to Brandon now.  He has a color change he plans to try out here.
Comment 6 Erwin Dokter 2011-12-20 21:08:49 UTC
Can brandon spill some beans so we can try them out first?
Comment 7 Brandon Harris 2011-12-20 22:55:32 UTC
I took a stab at this within r106884, going with Yellow and Blue.

I actually had a really nice looking version with violet and blue that was awesome. . . until you flipped on the colorblindness filters, and the two sides looked *exactly the same*.
Comment 8 Erwin Dokter 2011-12-20 23:40:33 UTC
After testing this code, I can only say: please revert!

Not only is this a completely unilateral change that goes completely agains what has been discussed in r105280, it looks horrible to boot. The yellow and blue levels are totally incompatible; the bright yellow completely overpowers the dull blue. No one asked for the font size change and pre-wrap is not applied. The yellow/blue is a good premise, but these colors are just thrown together from the old and the new.
Comment 9 Erwin Dokter 2011-12-21 01:34:30 UTC
Created attachment 9753 [details]
Patch for mediawiki.action.history.diff.css

Changed blue/green to yellow/blue. In response to r106884.
Comment 10 Erwin Dokter 2011-12-21 01:45:18 UTC
Created attachment 9754 [details]
Patch for mediawiki.action.history.diff.css

Changed the blue highlight.
Comment 11 Erwin Dokter 2011-12-21 19:18:28 UTC
Created attachment 9755 [details]
Patch for mediawiki.action.history.diff.css

Adjust .diff-deletedline .diffchange background.
Comment 12 Antoine "hashar" Musso (WMF) 2011-12-22 14:52:21 UTC
Green was dropped entirely with r106884. The diff colors are now yellow/blue. Those provide a sane default to MediaWiki installation and any project can override them locally if needed.

Please note the pre-wrap is applied by the 'diffchange' class. If it needs to be moved somewhere else, can you please open a new bug with a new patches? Thanks!  :-)

Marking this bug which is about color swapping, as resolved.
Comment 13 Erwin Dokter 2011-12-22 16:38:56 UTC
Please do not unilaterally close bugs that are not resloved. Barndon's patch clearly has issues as outlined in r106884. And why should I file different patches while issues can be fixed in one go?
Comment 14 Erwin Dokter 2011-12-22 16:41:03 UTC
Changed (and fixed) title to reflect current issues.
Comment 15 Antoine "hashar" Musso (WMF) 2011-12-22 17:12:56 UTC
(In reply to comment #13)
> Please do not unilaterally close bugs that are not resolved.

The bug title was originally about swapping the diff colors, specially not having green on the left side. Since green was removed the original issue is resolved.

>Barndon's patch clearly has issues as outlined in r106884.

The issues are not clear at all. The colors you are proposing are really minor changes and I do not understand how they are better than the one currently in use.

I don't understand why you are moving the pre-wrap around. What is the purpose of this change?


> And why should I file different patches while issues can be fixed in one go?
Cause we do not want to have one bug with several issues and ton of patches. It is way easier to have one bug per issue.
Comment 16 Erwin Dokter 2011-12-22 18:04:19 UTC
I *can't* have different bugs open for this, because it would result in clashing patch files; this bug encompasses diff view as a whole. And please read the whole discussion regarding Barndon's patch; I am not the only one that hates the hellish yellow. We *had* consensus when Barndon came in and completely waltzed over it. That patch is not going to make in into MediaWiki if I can help it.
Comment 17 Brandon Harris 2011-12-22 18:08:13 UTC
My name is spelled "Brandon" actually, not "Barndon".

Local wikis will be able to make their own overrides.  I was asked to apply design sense to the diff colors; I did.  The code was checked in, it was reviewed, it was marked okay.

I'm closing this bug (again) because the only thing that is happening now is bikeshedding.
Comment 18 Erwin Dokter 2011-12-22 19:13:57 UTC
Fine. I'l just submit a new bug. I was only trying to centralize discussion, but that is obviously impossible here.
Comment 19 Krinkle 2012-03-01 01:10:12 UTC

*** This bug has been marked as a duplicate of bug 33335 ***
Comment 20 Krinkle 2012-03-01 01:11:17 UTC

*** This bug has been marked as a duplicate of bug 11374 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links