Page MenuHomePhabricator

Make anchor links visually distinct from regular links
Closed, DeclinedPublic

Description

Author: fredrik.johansson

Description:
Anchor links (e.g. "for the 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.


Version: unspecified
Severity: enhancement

Details

Reference
bz1420
TitleReferenceAuthorSource BranchDest Branch
Revert rPHEX705c52059f655d6a0b8fddee60e9745b287e7db0repos/phabricator/extensions!27aklapperT342041differentialCustomwmf/stable
BaseTriggerView: Populate empty optional fieldstoolforge-repos/ifttt!20bd808work/bd808/T342014main
Get upstream tests working againtoolforge-repos/ifttt!19bd808work/bd808/T342014main
Upgrade configuration to more modern defaultsrepos/design-systems/CodexExample!3egardnerupdate-configmain
PHP array access: Replace curly braces with square bracketsrepos/phabricator/extensions!12aklapperT342007wmf/stable
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:11 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz1420.
bzimport added a subscriber: Unknown Object (MLST).

I don't really see much point to this. Reopen if there is a compelling argument in favor.

fredrik.johansson wrote:

(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 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.

robchur wrote:

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...

robchur wrote:

Resolving WORKSFORME on the grounds that the end-users can already customise this.