jhsoby/telegram-wikilinksbot

Links with «» in them don't get linked

Closed this issue · 3 comments

If I link a page like [[w:no:MS «Erkna»]], the bot returns unlinked text. Need to investigate.

Hi. I learned something new thanks to this.
I did not know that # and other characters we okay not to quote 😀

Nice 😃
In this case it wouldn't make much of a difference – the links would work no matter if they were quoted or not, but if I hadn't exempted those characters, the URL preview (when you click a link and it shows which URL it will take you to) would show "%23" for "#" and "%3A" for ":", which I didn't want, since it's less readable. 😊

Nice smiley In this case it wouldn't make much of a difference – the links would work no matter if they were quoted or not, but if I hadn't exempted those characters, the URL preview (when you click a link and it shows which URL it will take you to) would show "%23" for "#" and "%3A" for ":", which I didn't want, since it's less readable. blush

Exactly what I supposed, indicating more safe chars increases readability for humans but does not make a difference for the machine.