Last modified: 2010-05-15 15:56:54 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 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