Last modified: 2010-05-15 15:54:51 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 T15685, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13685 - Linking to anchor reloads page if given custom title
Linking to anchor reloads page if given custom title
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.12.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-10 17:47 UTC by Steven Sacks
Modified: 2010-05-15 15:54 UTC (History)
2 users (show)

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


Attachments

Description Steven Sacks 2008-04-10 17:47:17 UTC
[[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.
Comment 1 Robert Leverington 2008-04-10 18:30:28 UTC
Not API.
Comment 2 Brion Vibber 2008-04-11 23:59:12 UTC
I certainly don't see this effect.

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

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


Navigation
Links