Page MenuHomePhabricator

Process anchor links in redirects
Closed, ResolvedPublic

Description

Author: DmitryKo

Description:
Sometimes it's beneficial to pass anchor links in redirects to the browser.

For example, "Direct3D 10" in the English Wikipedia is a redirect to "Direct3D"
which has a section named "Direct3D 10" ; when another article link to the
redirect, opening it does not get you right to this section but to the beginning
of the article, so you have to use constructs like [[Direct3D#Direct3D
10|Direct3D 10]].

If the software was able to pass anchors in redirects, "Direct3D 10" would contain
#redirect [[Direct3D#Direct3D 10]]
and clicking a link would get you right to the needed section.

There probably should be a way to disable it if someone supplies its own anchor
in a link, so for ex. "Direct3D 10#Versions" should get you to
"Direct3D#Versions", not "Direct3D#Direct3D10".


Version: unspecified
Severity: enhancement

Details

Reference
bz6994

Event Timeline

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

DmitryKo wrote:

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