Thread:Andrewds1021/@comment-45117243-20201111034700/@comment-45117243-20201206200103

It's actaully more complicated than that.

In the JSON, the spaces are plain spaces: "refersTo":{"uri":"https://lost-cities-keeper.fandom.com/wiki/Message_Wall:Ripplefluffy the RainWing?threadId=4400000000000131374" "uri":"https://lost-cities-keeper.fandom.com/wiki/Message_Wall:Ripplefluffy the RainWing?threadId=4400000000000131374#4400000000001707135"

Viewing the HTML in my browser's dev tools, the href attribute uses plain spaces too: 

But the data-uri attribute is just broken: 

Retriving the href attribute with element.getAttribute('href') returns it with plain spaces, but retrieving it with element.href returns it with spaces encoded as %20

Finally, when clicking on the link, my browser translates the spaces to %20, and then the MediaWiki engine redirects it to spaces encoded as underscores.

And by the way, the space between Message and Wall is an underscore all over the way, which spares all this mess...