Last modified: 2011-02-19 22:47:50 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 T5112, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3112 - Different colours for visited/unvisited and :active external links (like internal links) (accessibility!)
Different colours for visited/unvisited and :active external links (like inte...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal normal with 6 votes (vote)
: ---
Assigned To: Krinkle
http://en.wikipedia.org/skins-1.5/mon...
: accessibility, easy, patch, patch-need-review
: 26475 (view as bug list)
Depends on:
Blocks: 27292
  Show dependency treegraph
 
Reported: 2005-08-10 23:26 UTC by Roger W Haworth
Modified: 2011-02-19 22:47 UTC (History)
9 users (show)

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


Attachments
Proposed patch that adds :visited styling (905 bytes, patch)
2010-09-03 12:07 UTC, Paran
Details

Description Roger W Haworth 2005-08-10 23:26:22 UTC
On en.wikipedia using the monobook skin we are allowed six different colors 
for Wikilinks: (normal/stub/missing) * (unvisited/visited). But we are only 
allowed one color for external links. Please allow our browsers to 
discriminate between visited and unvisited external links.

These lines work for me (the first one is already in main.css):

#bodyContent a.external { color: #36B; }
#bodyContent a.external:visited { color: #749; }
Comment 1 Rob Church 2006-07-04 09:11:50 UTC
Customise this using custom CSS as desired.
Comment 2 Jason Spiro 2010-07-09 23:07:36 UTC
I've switched to the new Vector skin, but enwiki still doesn't differentiate between visited and unvisited external links by default.

(In reply to comment #1)
> Customise this using custom CSS as desired.

It's nice that this is user-customizable.  But most users don't install custom CSS, so it'd be very helpful if you set it by default.

At http://www.useit.com/alertbox/20040503.html usability expert Jakob Nielsen writes, "Knowing which pages they've already visited frees users from unintentionally revisiting the same pages over and over again."  He says that this is extra-important for users with bad short-term memory, such as many older users, but important for everyone.

Reopening.  Bumping from "trivial" to "normal" because this is a usability-related request, not a cosmetic issue.  Adding keywords "accessibility, easy".

Would you accept a patch to fix this?
Comment 3 Sorin Sbarnea 2010-07-15 07:23:26 UTC
Anyone with usability/accessibility experience will tell you that :visited are **required**. Please repair it.
Comment 4 Paran 2010-09-03 12:07:01 UTC
Created attachment 7666 [details]
Proposed patch that adds :visited styling

Patch for vector skin's main-ltr.css and main-rtl.css which adds :visited styling to external links so they are the same colour as visited internal links.
Comment 5 Brandon Harris 2010-09-04 01:17:09 UTC
The color #0b0080 is not web safe so will probably not be used.   I'll see what I can do about finding a web-safe one.
Comment 6 Bawolff (Brian Wolff) 2010-09-09 16:15:46 UTC
(In reply to comment #5)
> The color #0b0080 is not web safe so will probably not be used.   I'll see what
> I can do about finding a web-safe one.

Does web safe colours really matter anymore? I'd imagine most people can display all colours expressible in #rrggbb format now a days.
Comment 7 Brandon Harris 2010-09-09 16:27:55 UTC
Websafe doesn't matter to 99.99999% of the web anymore, no.

But we are not within that superset.
Comment 8 Antoine "hashar" Musso (WMF) 2010-10-29 16:35:06 UTC
Can you update your patch with a correct color and provide a patch for the differents skins ? :)
Comment 9 Bawolff (Brian Wolff) 2010-12-29 09:41:55 UTC
*** Bug 26475 has been marked as a duplicate of this bug. ***
Comment 10 Danny 2010-12-29 10:17:07 UTC
If the bug is marked as a duplicate then obviously it should be twice as important to resolve.  The problem does not need to be solved by installing a file on my computer.  This a problem for every visitor to the WIKI sites.  The problem needs to solved by the programmers or so called web site builders for everyones benefit including a first time visitor.  Whats wrong with plain old RED?
Comment 11 Bawolff (Brian Wolff) 2010-12-29 10:54:27 UTC
*** Bug 26475 has been marked as a duplicate of this bug. ***
Comment 12 Sam Reed (reedy) 2011-02-11 01:24:36 UTC
CC'ing Trevor and Krinkle...

This is a very trivial bug, and by the looks of it, also occurs on Vector. Maybe other skins too....

Any chance of fixing this up and closing it?
Comment 13 Krinkle 2011-02-12 17:11:17 UTC
I'll do this next monday when finishing up other small things.
Comment 14 Krinkle 2011-02-19 22:47:50 UTC
Fixed in r82495.

In addition to the color for .external:visited, I added a color for .external:active ( 'active' is when your mouse is down on it). This to be consistent with internal links which also have a visual clue for :active.

external links that were interwikis (eg. [[m:Foobar]] ) had an override to match external links, for that reason I added declerations to have a visual clue for :active and :visted on .extiw as well.

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


Navigation
Links