Talk:Category

From mediawiki.org
Latest comment: 17 years ago by Suki in topic Doesn't have to be at the end

Display Names[edit]

NEEDS TO BE IMPLEMENTED

I've used the alternative sort key thing, but is there a way to specify an alternative display name on the catagory list page? for example, Marilyns. In the context of UK hills, Pillar (Lake District) should really only be listed as Pillar. Similarly Arthur's Seat, Edinburgh should be Arthur's Seat, and Beinn Dearg (Torridon) as Beinn Dearg.

Another example is Scottish Battles were some battles are shown with dates, and some aren't.

If we had alternative display names we could make these pages more consistent. Any comments? Miterdale 16:08, 11 Aug 2004 (UTC)

I just wanted to suggest this. Just an example: York is a city founded by Romans.
  • [[Category:Roman Cities]] would list York in chapter Y
  • [[Category:Roman Cities | Eboracum]] would list York in chapter E
  • [[Category:Roman Cities || Eboracum]] (SUGGESTED!) would list Eboracum in chapter E and link to York - the urgently desired feature. Could you introduce this feature as quickly as possible? 80.134.122.238 00:03, 22 Aug 2004 (UTC)
I too would like to see that feature implemented. I started sorting author pages on wikisource and the way they are currently displayed is really ugly -- (ThomasV on wikisource)

In fact, I suggest something a bit more powerful than that. I would like to have the possibility of setting a display name different from the name of the page AND different from the sorting key. Suppose my page is called "Author:John Locke". I want to list John Locke in chapter L and link to "Author:John Locke", eg: [[Category:Authors|Locke|John Locke]] (SUGGESTED!), where the 1st argument would be the key (for compatibility reasons) and the 2nd would be the display name. -- ThomasV

[[Category:MyCategory|DisplayThisInstead]]
Gives
Categories: MyCategory
Instead of
Categories: DisplayThisInstead
i.e. the syntax is that of a Help:Piped link but is in fact a sort key. Any progress on this front? 139.165.200.31 07:46, 6 April 2006 (UTC)Reply

I am also in desperate need of exactly this. As are a lot of others I'm sure. THIS NEEDS TO BE IMPLEMENTED. I concur with the "[[Category:Songs|Locke|John Locke]]" ay ThomasV suggested. Where it would give greatest flexibility and so in the example it would link to the page it was written on and by put in the category 'Authors' under the Letter L and will display John Locke. Fointy 15:46, 18 August 2006 (UTC)Reply

I put my vote in as well. "[[Category:Songs|Locke|John Locke]]" is a fantastic idea. Defiantly needed. Has there been any progress in this matter? -- Suki 05:47, 27 March 2007 (UTC)Reply

Doesn't have to be at the end[edit]

I found this one out the hard way. You can't link to a Category page without adding the current page to the Category list! If in the middle of a page you use a link like [[Category:Authentication and Authorization Extensions]] it will add the page to that said Category! The Help:Categories tells you it should be place at the end of the document.

To accomplish this task you must precede the link with a ':' (colon). m:Help:Category#Linking to a category

Thank you Patrick for the tip.

[Revised by Suki 08:50, 12 April 2007 (UTC)]Reply

Reverse Sort order[edit]

Question: I am as of yet unable to see how to reverse the sort order. In my case, I date all the articles, and use the date (e.g., 2007.04.01) as the sort value. This sorts wonderfully in ascending sequence, but my readers are requesting reverse chronological order. I don't see where / how to have the sort done in descending as opposed to ascending order. Is this already present (did I miss something in my reading) or is this a request for a new feature?