List of sub-categories for "Category: German Immigrants to America" is messed up [closed]

+10 votes
240 views

Wow!  I just discovered CATEGORIES, and I AM THRILLED!  

In the process of "drilling down" to find a category for passengers on the Samuel M Fox bound for New York in 1852, I passed through the list of sub-categories for "Category: German Immigrants to America".  There's been some attempt to alphabetize the list, but the alphabetizing is inconsistent.

For example, the category 'German Immigrants to Montana' is listed under "M", and category 'German... to Pennsylvania' is under "P", but 'German... to California' is under "G".

Since most categories on that page have labels beginning with "German...", it is no help if they are alphabetized under "G".  I'd like to see them alphabetized according to the US State, just as Montana and Pennsylvania are done.

closed with the note: has been fixed.
in WikiTree Tech by Living Straehle G2G6 Mach 1 (15.8k points)
closed by Living Straehle
Weird. I tried to figure it out. I compared a correctly sorted categorized profile with an incorrectly sorted profile. I noticed two differences. Incorrectly sorted profiles had a space after Category: and before the category name. Also incorrectly sorted profile had spaces instead of underscores between words. I changed and tested each without a good result though. So I dunno what's causing this problem.

1 Answer

+1 vote
 
Best answer

I''ve just now successfully added link piping in some of those categories, with and without underscores. So on the Ohio category, I added "|Ohio" to make  [[Category:German_Immigrants_to_America|Ohio]] and in the Nebraska category I added "|Nebraska" to make [[Category: German Immigrants to America|Nebraska]], and now both categories are alphabetized by state. 

 

by Ellen Smith G2G Astronaut (1.6m points)
selected by Stanley Baraboo

And piping even works if there's a space after the colon, as in

[[Category: German_Immigrants_to_America|Massachusetts]]

Yeah! Thanks for figuring it out.  I had always believed that what came after the pipe would replace what came before the pipe when displayed. That's typically how wiki code works elsewhere . But maybe there's something weird about the Category name space?
This is how the pipe works for categories at Wikipedia, and apparently it's the same at Wikitree. So, yes, categories behave differently from links.

But if you insert a colon in front of the word Category, then it works like a link.

Related questions

+11 votes
2 answers
+8 votes
1 answer
201 views asked Jun 20, 2016 in WikiTree Tech by Living Sears G2G1 (1.5k points)
+5 votes
1 answer
141 views asked Jun 20, 2016 in WikiTree Tech by Living Sears G2G1 (1.5k points)
+8 votes
1 answer
171 views asked Mar 21, 2016 in Policy and Style by Natalie Trott G2G Astronaut (1.5m points)
+5 votes
1 answer
111 views asked Feb 15, 2016 in Genealogy Help by Brian Penske G2G6 Mach 6 (65.8k points)
+7 votes
2 answers
+5 votes
1 answer
+7 votes
3 answers
+4 votes
3 answers

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

disclaimer - terms - copyright

...