Last modified: 2006-01-04 22:06:31 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 T6483, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4483 - "Parent" and "sibling" link syntax for wikilinks on subpages
"Parent" and "sibling" link syntax for wikilinks on subpages
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-04 19:12 UTC by Wally Hartshorn
Modified: 2006-01-04 22:06 UTC (History)
0 users

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


Attachments

Description Wally Hartshorn 2006-01-04 19:12:20 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.
Comment 1 Rob Church 2006-01-04 19:15:30 UTC
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.
Comment 2 Wally Hartshorn 2006-01-04 19:38:45 UTC
(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]]"
Comment 3 Rob Church 2006-01-04 19:40:05 UTC
I'll double-check. Were subpages properly enabled in the configuration which had
the original problem?
Comment 4 Rob Church 2006-01-04 19:44:37 UTC
Concedo, that's correct. When sub pages are *properly* enabled, [[../]] links
work fine. Resolving this as INVALID, since it's a configuration issue.
Comment 5 Wally Hartshorn 2006-01-04 19:52:12 UTC
(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?
Comment 6 Rob Church 2006-01-04 19:53:58 UTC
Hmm. What version of MediaWiki?
Comment 7 Wally Hartshorn 2006-01-04 20:13:28 UTC
(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.
Comment 8 Rob Church 2006-01-04 20:17:35 UTC
I think you'll find it's in 1.5 onwards.
Comment 9 Wally Hartshorn 2006-01-04 22:06:31 UTC
(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!

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


Navigation
Links