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

+10 votes
123 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 J S G2G6 Mach 1 (14.9k points)
closed by J S
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.1m points)
selected by Gerald 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
1 answer
+7 votes
1 answer
28 views asked Mar 24, 2016 in Policy and Style by Nan Starjak G2G6 Pilot (245k points)
+13 votes
3 answers
+4 votes
1 answer
70 views asked Jun 7, 2018 in Policy and Style by G. Moore G2G6 Mach 3 (34.4k points)
+10 votes
1 answer
+7 votes
1 answer
112 views asked Jun 20, 2016 in WikiTree Tech by Jim Sears G2G1 (1.3k points)
+4 votes
1 answer
59 views asked Jun 20, 2016 in WikiTree Tech by Jim Sears G2G1 (1.3k points)
+4 votes
2 answers

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

disclaimer - terms - copyright

...