Last modified: 2010-05-15 15:56:54 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 T11151, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9151 - Cannot link to section on relative page
Cannot link to section on relative page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.6.x
PC Windows 2000
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/User:C...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-02 14:19 UTC by Colin Fine
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Attachments

Description Colin Fine 2007-03-02 14:19:57 UTC
I wanted to make a relative link from a subpage to a named section on the parent
page. 

The obvious syntax I tried is
[[../#anchor]]
but this gives a red link to page <parent>/ (ending with the slash).

The wiki on which I have hit the problem is only at 1.6.8, but I've just tried
it on meta (see URL), which appears to be running 1.10alpha
Comment 1 Brion Vibber 2007-03-06 19:03:32 UTC
Child links ([[/child#heading]]) seem to work fine, so it may be something
special about the parent-dir processing.
Comment 2 Brion Vibber 2007-07-12 21:02:58 UTC
Parser::maybeDoSubpageLink() wasn't splitting out the hashes.

Fixed in r24046.


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


Navigation
Links