-
Notifications
You must be signed in to change notification settings - Fork 1
Glew wish for punctuation in URLs
AndyGlew edited this page Mar 23, 2020
·
3 revisions
I really wish that this page could be
- Glew wish: punctuation in URLs
-
https://github.com/AndyGlew/Ag-stuff/wiki/Glew-wish:-punctuation-in-URLs
- wait - the GitHub wiki accepts that, or at least permits a colon/: when it is recognizing a URL, it just doesn't generate that Glew-wish:-punctuation-in-URLs instead of
- https://github.com/AndyGlew/Ag-stuff/wiki/Glew-wish-for-punctuation-in-URLs
I understand why cannot allow arbitrary characters. I have read the RFCs.
So this page is really explaining a personal kluge:
Often I want to create a wiki page whose name begins with a tag followed by a colon, like
Since colons are not allowed in the actual URL, and since I like human readable URLs, I will often say
- Glew wish for punctuation in URLs i.e. "tag for" replaces "tag:"
It's not pretty, but it sometimes works.
At other times and places I have used dashes(hyphens) Glew wish - punctuation in URLs
- but that gets ugly given some algorithms for URLifying names, e.g. converting blanks to underscores or dashes(hyphens), to avoid ugly %20 codes in the URL.
- In particular, the GitHub wiki, originally based on Gollum, converts spaces the dashes, and including a dash in such a name results in a triple dash
- triple dash is not so bad, but still other wikis s/--*/-/, i.e. convert multi dash sequences to a single dash
Anyway, just saying: this is why you will sometimes see me call pages by somewhat uncomfortable names like Glew wish for punctuation in URLs
I've also tried saying "I wish for punctuation in URLs", and "wish there was punctuation in URLs" and ...