Last modified: 2006-01-04 22:06:31 UTC
Linking from a subpage to its parent -- [[../|parent]] -- or to one of its siblings -- [[../sibling|sibling]] -- does not work. No link is created at all.
That's because that's not valid link syntax. All subpages (when it's enabled) have "breadcrumbs"-style links at the top, near the title (default skin), which lead back through the path, but we don't have support for [[..]] or similar link syntaxes at the moment. Changing to a feature request.
(In reply to comment #1) In that case, the documentation is incorrect, because it currently states (at at http://meta.wikimedia.org/wiki/Help:Link#Subpage_feature): "Inside a subpage hierarchy the following links can be used: * [[../]] - links to the parent of the current subpage. * [[../Sibling]] - links to a sibling of the current subpage, e. g. from [[Parent/Subpage]] [[../Sibling]] links to [[Parent/Sibling]]"
I'll double-check. Were subpages properly enabled in the configuration which had the original problem?
Concedo, that's correct. When sub pages are *properly* enabled, [[../]] links work fine. Resolving this as INVALID, since it's a configuration issue.
(In reply to comment #4) Okay, I think you've lost me. You appear to be saying that I don't have subpages properly enabled. I'm not sure how that's possible. They're either enabled or they're not, aren't they? In my system, they at least APPEAR to be properly enabled, based on the fact that a parent can link to a subpage (via [[/subpage]]) and at the top of the subpage I can see the breadcrumb trail linking back to the parent. They only part that doesn't work is that I cannot, within the subpage, create a link to the parent (via [[../]] or to a sibling (via [[../sibling]]). I'm not sure how that can be a configuration issue on my part. Am I misunderstanding something?
Hmm. What version of MediaWiki?
(In reply to comment #6) I was running 1.4.5. After your earlier comment, I installed 1.4.12, just in case it was something fixed or added since 1.4.5. No change. I'm now looking into upgrading to 1.5.4, just to be absolutely sure.
I think you'll find it's in 1.5 onwards.
(In reply to comment #8) Bingo! I upgraded to 1.5.4 and now linking to parents/siblings works as advertised! I didn't find any mention in the release notes about adding this feature, so it must have been one of the things covered by the phrase "And... A bunch of stuff we forgot to mention.". :-) Thanks for your help!