Last modified: 2005-08-11 16:58:32 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 3115 - Provide a quick syntax for linking to sibling subpages
Provide a quick syntax for linking to sibling subpages
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-11 00:30 UTC by Manuel G. R.
Modified: 2005-08-11 16:58 UTC (History)
0 users

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


Attachments

Description Manuel G. R. 2005-08-11 00:30:01 UTC
Now that Wikibooks is promoting subpages (see [[b:Wikibooks:Naming policy]]) for
writing book chapters, it would be very useful to have an easy way for linking
to sibling subpages, i.e. to different chapters of the current book.

Inside [[Wikijunior Solar System/Mercury]] one could write:

 The next planet going away from the [[../Sun|]] is [[../Venus|]].

Note that I have also included the feature defined in #3114

This feature would also facilitate future book title changes.
Comment 1 Brion Vibber 2005-08-11 06:48:44 UTC
That would be [[/Sun]].
Comment 2 Robert Horning 2005-08-11 11:22:06 UTC
No, that would be [[../Sun|]] or from [[Wikijunior Solar System/Mars]] it would
be [[/Phobos]], as in [[Wikijunior Solar System/Mars/Phobos]].

This is a very common naming convention on Wikibooks, and a way to designate sub
modules... essentially sub chapters.  Wikibooks is complicated in that the 32K
limit MediaWiki software "requests" that you keep each page within is a serious
limiting factor.  Even a single chapter of a book is often considerably longer
than 32K, which the point of Wikibooks is precisely to write content that is
longer in nature.

There would also be a need to "move up", so something like [[..]] would move you
down to the "parent" article/book module.
Comment 3 Brion Vibber 2005-08-11 11:28:47 UTC
[[/Foobar]] *is* a sibling link if you're on a subpage, unless we've got some serious bugs 
in subpage handling that nobody's mentioned.
Comment 4 Robert Horning 2005-08-11 11:57:33 UTC
No, [[/Stuff]] or [[/Foobar]] is to a subpage from the main parent page. 
However, [[../BarFoo]] does seem to work just fine for me in Wikibooks when
going between two different sibling sub pages.  [[../]] also seems to work just
fine for going "back" to the parent page.
Comment 5 Manuel G. R. 2005-08-11 16:58:32 UTC
Ok, [[../|Parent]] and [[../Foobar]] works for me. I think I tested it, but I
may have done it before the feature was implemented. 

Should I close the bug?

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


Navigation
Links