Hopefully there is a really easy way to do this, and I've just failed to find in the documentation how to do it...
Is there any way to set up a page so that it lists information that people contribute, as well as provides a listing of all the pages that link to it.
e.g. ------------------------------------------------------ [Aldon Hynes] Aldon Hynes lives in [Connecticut] ------------------------------------------------------ [Jim Dean] Jim Dean lives in [Connecticut] ------------------------------------------------------ [Connecticut] Connecticut has five congress people. Important people that live in Connecticut include: *** At this point, it would list me and Jim. If someone set up a new page which also included [Connecticut] that would automatically show up in the list *** ------------------------------------------------------
or
------------------------------------------------------- [cat] A cat is a type of [mammal] that humans often keep as a pet ------------------------------------------------------- [cow] A cow is a type of [mammal] that humans often raise for get milk ------------------------------------------------------- [mammal] A mammal is a type of [animal] that nurses its young. For mammals list here, please see: *** At this point, it would list cats and cows. If someone set up a new page which also included [mammal] that would automatically show up in the list ***
Aldon
On Tue, 15 Feb 2005 13:38:58 -0500, Aldon Hynes ahynes1@optonline.net wrote:
Hopefully there is a really easy way to do this, and I've just failed to find in the documentation how to do it...
Is there any way to set up a page so that it lists information that people contribute, as well as provides a listing of all the pages that link to it.
If I understand rightly what you're describing here, it's more or less the purpose of the Category system [1] - note particularly that each category has an introductory text attached to it, which is then followed by something like a prettified Whatlinkshere listing.
You may also want to look at the recent thread on customising the way these pages look [2] [3] [4]
==> Refs <== [1] http://meta.wikimedia.org/wiki/Help:Category [2] http://mail.wikipedia.org/pipermail/mediawiki-l/2005-February/003462.html [3] http://mail.wikipedia.org/pipermail/mediawiki-l/2005-February/003464.html [4] http://mail.wikipedia.org/pipermail/mediawiki-l/2005-February/003530.html
Is there any way to set up a page so that it lists information that people contribute, as well as provides a listing of all the pages that link to it.
not sure I follow you - are Categories going to do the job here? have a look at those. You add them at the end of the page.
not sure I follow you - are Categories going to do the job here? have a look at those. You add them at the end of the page.
Yes and no. By default, and for categories to work as a prettyfied "whatlinkshere" you add them to the end. Even if you add them up a ways, they'll end up showing rendered at the bottom of the page. However, you can link to a category page explicitly with [[:Category:mammals|mammals]]. The initial colon makes it render in-line and prevents adding it to the index of the category, and the piped name makes the link look nice.
I do this for my music wiki, I put "This artist performs [[:Category:Rock|Rock]] [[Category:Rock]] music." The first makes the link, the second places the article in the category. This has the advantage that the linking is intentional, whereas if it happened automatically then anytime I said "The name of this band makes them sound like a [[Rock]] group, but they actually play flugelhorn and yodel." it would put the article in the rock category! This would be undesirable behavior. The existing architecture also let you decide what a category is, "Connecticut" may merit a category, but "Button" may not.
Other users have asked for a template-style "whatlinkshere" so they could include it on the page intentionally as you may have meant to describe, and that does not exist. That is probably what you want the most. No doubt if and when the feature is developed, you'll hear about it here second.
--NDB
mediawiki-l@lists.wikimedia.org