Page MenuHomePhabricator

[[MediaWiki:Semicolon-separator/el]] is escaped even though its not supposed to
Closed, ResolvedPublic

Description

In https://www.mediawiki.org/wiki/Special:RecentChanges?hidebots=1&translations=filter&hideWikibase=1&limit=50&days=3&uselang=el&urlversion=2 the semicolon separator appears as · instead of ·. Using the HTML entity is unavoidable here because this character is canonically equivalent to U+00B7 and gets converted to it automatically but actually looks different to U+00B7 on several fonts.


Message URL: https://translatewiki.net/w/i.php?title=Special:Translate&showMessage=semicolon-separator&group=core&language=el

Event Timeline

Hi @Warudo, thanks for taking the time to report this!
If this should not be U+00B7, which other Unicode character do you have in mind? U+2E31?
I am not sure what · represents in that notation, sorry.

· is supposed to be U+0387 (GREEK ANO TELEIA). See also https://en.wikipedia.org/wiki/Talk:Semicolon#Middle_dot_and_ano_teleia for why I think U+00B7 cannot be used.

Since   loads correctly, I attempted to work around the issue by changing · to the equivalent ·. We'll know if that worked in a week I guess.

Since   loads correctly, I attempted to work around the issue by changing · to the equivalent ·. We'll know if that worked in a week I guess.

That won't work, because only a very limited subset of HTML entities are allowed in messages, so I reverted it back to this version for the time being, presuming that that's better than escaped HTML (which is what will happen when you put ·).

Maybe we need to add · to the list of permitted HTML entities to properly solve this?

@jhsoby There are some sites that use U+00B7 (MIDDLE DOT) to substitute U+0387 because of the normalization but to me it just looks wrong. The middle dot is too low. So the ideal fix would be to allow us to use U+0387. If you don't want to then U+00B7 will have to do but it's not ideal.

Note that this will cause breakage on elwiki once the translation makes it there. It would be nice if someone fixed it before that happens. We should probably just revert my translation change somehow.

srishakatux subscribed.

It looks like there is nothing else left to be done here. Feel free to re-open if that is not the case.