Last modified: 2010-05-15 15:54:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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