Are sort keys not supported for categories?

+9 votes
327 views
I see that wiki markup includes the option of a sortkey (e.g. [[:category:category name|sortkey]]) but this does not seem to work on WikiTree.  If this by design or is this a flaw?
in Policy and Style by Living Anderson G2G6 Mach 7 (80.0k points)
retagged by Ellen Smith
It works for subcategories, but not for person-profiles, except in the Unsourced_Profiles category.

It's because WikiTree sorts by person-name not page-name.  The sort key overrides the page-name, but the person-name overrides both.
Thanks for the prompt answer!
If RJs comment had been an answer I would immediatel have marked it as best answer.
So if I undersatnd this correctly, a sort key could be used in a category for a freespace page? I just tried this on a freespace page and it didn't work:

[[Category:The American Genealogist | American Genealogist, The]] (with no spaces before or after the pipe)

Sortkeys in categories sort the categories contained within it. They do not sort profiles of either type.

So, in this category:https://www.wikitree.com/wiki/Category:United_States_Navy_Ships%2C_World_War_II the ships are sorted by the name of the ship by using the pipe followed by the ship name but the lone space page (which is a profile) is not sorted and cannot be sorted.

Unfortunately, no, Jillaine, it doesn't work in a freespace page.

It only works in subcategories. Example: if you are on the category page for "Massachusetts, Smith Name Study" and for parent category you type [[Category:Massachusetts Name Studies|Smith]] then "Massachusetts, Smith Name Study" will be listed under Smith on the Massachusetts, Name Studies category page instead of being lumped with all the Ms.
So in the Sources by Title category, we've got all those pages that start with "The..." and we can't sort them by the second word?
No, we cannot. Nor can we sort "A" or "An" or anything else. Never could and the old Category:Source had the same issue.
According to my experiments, if you were to create Space:American_Genealogist and then change the page title later, it would still sort under A.

There might be other disadvantages in having the title different from the pagename.

(And of course there are known disadvantages in having commas in pagenames.)
Natalie, so all those pages in sources have to be split up manually by name?
Yes they do. I work on it when I have time but there are about 5,000 of them.
tell me what order they are being put in so I can do my share

Can you explain what you mean by "split up manually by name"?

what would it take for the pipe feature to apply to the sorting of freespace pages?

We renamed C:Source to C:Sources by Name and employed EditBot to do over 90% of it (we began to move the sources manually, but it was going to take a very long time.) So now that they are moved, they really need the further categories we created, such as C:Sources by Topic or C:Sources by Location, etc.

The pipe character sorting freespace? I would suggest you email someone on the tech team with the question.

1 Answer

+2 votes
Edited:  Removed as false information per Natalie. Thank you, Natalie.
by Living Britain G2G6 Mach 2 (28.7k points)
edited by Living Britain
B, those are parameters, not sort keys.

Related questions

+7 votes
3 answers
481 views asked Dec 7, 2017 in WikiTree Tech by Don Osborn G2G6 Mach 1 (11.3k points)
+10 votes
2 answers
+8 votes
1 answer
+8 votes
1 answer
183 views asked Mar 8, 2019 in WikiTree Tech by Robert Judd G2G6 Pilot (135k points)
+4 votes
1 answer
141 views asked Jan 16, 2019 in WikiTree Tech by Living Hampson G2G6 Pilot (113k points)
+6 votes
2 answers
252 views asked Jul 28, 2018 in The Tree House by Gil Davis G2G6 Mach 1 (14.7k points)
+5 votes
1 answer
+7 votes
0 answers
105 views asked Dec 2, 2017 in WikiTree Tech by Roger Shipman G2G6 Mach 2 (20.2k points)
+11 votes
1 answer
+8 votes
1 answer

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...