Last modified: 2005-12-19 22:11:18 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 T3420, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1420 - Make anchor links visually distinct from regular links
Make anchor links visually distinct from regular links
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-28 03:09 UTC by Fredrik Johansson
Modified: 2005-12-19 22:11 UTC (History)
0 users

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


Attachments

Description Fredrik Johansson 2005-01-28 03:09:37 UTC
Anchor links (e.g. "for the history, [[#History|see below]]") should be
displayed so that they can be distinguished from regular links.

Might be implemented by changing font style, or adding an icon after the link.
Comment 1 Brion Vibber 2005-01-29 04:50:23 UTC
I don't really see much point to this. Reopen if there is a compelling argument in favor.
Comment 2 Fredrik Johansson 2005-01-29 11:46:40 UTC
(In reply to comment #1)
> I don't really see much point to this. Reopen if there is a compelling
argument in favor.

It is often hard to tell whether a link goes to another page. My example of "see
below" was perhaps poorly chosen. Consider "For more information, refer to the
[[#History|history of Foo]]". I regularly open such links in a new window, only
to find the same page again. This is a minor annoyance, but one that could be
eliminated.
Comment 3 Rob Church 2005-12-19 14:51:32 UTC
This can be accomplished with minimal effort using CSS:

#bodyContent a[href ^="#"] {
	color: #66CC66;
}

This paints them a disgusting green colour. Note that it also affects links in
the table of contents, and despite various overrides and all manner of fun
further up the CSS file, I've yet to work round this...
Comment 4 Rob Church 2005-12-19 22:11:18 UTC
Resolving WORKSFORME on the grounds that the end-users can already customise this.

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


Navigation
Links