Coding of punctuation and spaces in category names

+11 votes
288 views
I've seen a number of edits recently in which another contributor has added category IDs to profiles in formats like [[Category:Lynn%2C_Massachusetts]], which substitutes code for the punctuation and space in [[Category:Lynn, Massachusetts]]. In some instances, an existing category link entered with standard punctuation is being overwritten with a category link that includes the coding instead. The coding is ugly and likely to confuse some contributors.

The explanation proffered for this practice is that the coding is needed to place the profile in the category. This explanation is inconsistent with my understanding of, and experience with, categories in WikiTree. If I add [[Category:Lynn, Massachusetts]] to a profile, I fully expect that profile to land in the category. I suspect that some sort of intermittent glitch must have led to the perception that the coding is required. On a few occasions I've seen profiles fail to appear in a category, and I've been able to make the missing profiles appear by making an edit to the category page. Are WikiTree's tech wizards aware of a glitch that causes intermittent categorization problems? Is my practice of making a null edit to the category page a valid cure for a known problem? Are there instances where ugly coding is truly needed? Is there any general advice to offer to users regarding placement of categories on profiles?
in WikiTree Tech by Ellen Smith G2G Astronaut (1.6m points)

2 Answers

+6 votes
 
Best answer
Hi Ellen,

Maybe those people are copying the category URL.

You are correct that the encoding is not necessary. It will work either way, but I agree that the natural language version should be used.

Chris
by Chris Whitten G2G Astronaut (1.5m points)
selected by Ellen Smith
It didn't ought to work either way.  When a pagename is turned into a URL, any % already in it should be taken as a literal % (quite possible in free space pages, at least) and encoded as %25, so %2C should become %252C.

The url-encoding in early MediaWiki doesn't seem to work right.  It still doesn't work right, but in different ways.  Of course the trouble with bug-exploitation is that it might not survive an upgrade.
+3 votes
This may be due to the browsers those users use.  Perhaps they are not adding the characters deliberately, but the browser, attempting to avoid loss of information, encode special characters.
by Roger Shipman G2G6 Mach 2 (21.6k points)
It's deliberate. (I asked.)
Okay.  Well, it was worth suggesting.  I have not had trouble with needing to special code characters; but you never know.  I've had other kinds of trouble (i.e., not categories), and wondered about the necessity in those situations.

Related questions

+5 votes
1 answer
+5 votes
0 answers
398 views asked Jun 8, 2014 in WikiTree Tech by Anne B G2G Astronaut (1.4m points)
+15 votes
3 answers
364 views asked Aug 31, 2016 in WikiTree Tech by Kitty Linch G2G6 Mach 4 (45.2k points)
+13 votes
1 answer
+4 votes
0 answers
205 views asked Dec 16, 2016 in WikiTree Tech by Ellen Smith G2G Astronaut (1.6m points)
+13 votes
3 answers
+2 votes
0 answers
304 views asked Dec 29, 2023 in WikiTree Tech by Kenneth Nellis G2G6 Mach 1 (13.1k points)
+4 votes
4 answers

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

disclaimer - terms - copyright

...