Page MenuHomePhabricator

RecentChanges items should have alternating background colours
Closed, ResolvedPublic

Description

Author: Wiki.Melancholie

Description:
[[Special:RecentChanges]] items should be shown with two alternating background colours, what would make it much easier to read when page is crowded (due to long summaries e.g.)!

...
Line 3 - light gray
Line 4 - white
Line 5 - light gray again
Line 6 - white again
...


Version: unspecified
Severity: enhancement
URL: http://de.wiktionary.org/wiki/Wiktionary:Statistik/Sprachenübersicht

Details

Reference
bz14468

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:11 PM
bzimport set Reference to bz14468.
bzimport added a subscriber: Unknown Object (MLST).

Added classes "even" and "odd" to the RC and watchlist lines in r39503. You should be able to add markup on a site, skin, or user level using the various css options.

Small example to give a grey background to every even line. Add the following to your css:

.odd {

background-color: #C0C0C0

}

DISCLAIMER: I am not a css guru, so you the example may not be too refined :P.

Wiki.Melancholie wrote:

Great :-)

But consider adding this CSS snipplet to /skins-1.5/common/shared.css (clear arrangement should be standard).

This may get reverted, but we'll see. Done in r39507 with colour #E8E8E8 (a lighter grey than the example used).

This looks pretty bad currently. Definitely revert; recommend WONTFIX unless a more legible solution is found.

Brion, are you talking about reverting the whole solution (because I am for indivudial users (or gadgets) implementing this). I was indeed hesitant to add the css change, as noted in comment 3.

Second comment: I started using it on Betawiki right after implementing it. It *does* take some getting used to. UI changes do in general...

Wiki.Melancholie wrote:

I do not understand the problem, that: http://translatewiki.net/wiki/Special:RecentChanges looks good! to me. Maybe the gray colour could be a little bit brighter, but it's definitely better than just being a plain text desert (those special pages are for being *efficiently worked with*, so please at least keep classes .odd and .even)...

Brion reverted r39503 (classes), 39507 (css) with "These alternating background colors are imho not very attractive, and make the display busy and confusing, rather than easier to read."

If even the classes are not allowed to be added, I have no idea how to continue with this. Off the case...

fran wrote:

I'd say it's probably a good idea to have "even" and "odd" classes for skinning functionality - in case anyone wants them, we should let them. :) (I do think it should stay off on all stock skins, though.)

(In reply to comment #9)

I'd say it's probably a good idea to have "even" and "odd" classes for skinning
functionality - in case anyone wants them, we should let them. :) (I do think
it should stay off on all stock skins, though.)

Or remove also the workaround for bug2318... :(

Wiki.Melancholie wrote:

As for bug 3226 a CSS class has been added, why not also for this request?
Still do not know why the addition of the classes has been reverted!

Changed component to "RecentChanges"

Recommitted r39503 with proper class names in r47014. Not changing css, as this will be reverted. Site administrators can make their own styling descisions using the on-site css pages in the MediaWiki: namespace.