Page MenuHomePhabricator

Linking to anchor reloads page if given custom title
Closed, DeclinedPublic

Description

Author: steven

Description:
[[SomePage#SomeSubSection]]

On the SomePage page, clicking the above link jumps to the SomeSubSection anchor on the same page as expected.

However, if you give that link a custom name separated with a pipe

[[SomePage#SomeSubSection|Some Sub Section]]

It reloads the entire page and then jumps to that subsection, instead of the expected behavior of simply jumping to the anchor tag on the same page.

I am using the latest stable release of MediaWiki.


Version: 1.12.x
Severity: minor

Details

Reference
bz13685

Event Timeline

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

I certainly don't see this effect.

Confirm that the second link isn't using a redirected name or similar.