Topic on Help talk:CirrusSearch

Can't visit result if page title is a Unicode combining form

7
Equinox (talkcontribs)

For example: The page title is a Unicode combining form. In the latest Google Chrome (77.0.3865.90) on Windows 7, and probably other browsers and platforms, the link to the result page cannot be clicked; I had to view the HTML source to be able to follow the link. This is unfortunate.

TJones (WMF) (talkcontribs)

Good example! I ran into this once before, but forgot about it until now. I did a quick test on this one example, and adding a no-break space before and after the combining character makes it clickable (Chrome on a Mac) and makes it look a little better. I'll open a ticket to fix this.

TJones (WMF) (talkcontribs)

This is a problem for more than just search results, so I'm working on a more general ticket.

TJones (WMF) (talkcontribs)

I've created T233840 and found some other examples. This should probably be fixed in the low-level code that generates links, and not ad hoc in our code for title links on the search results page. I'm not sure what project tag to add over there, but that should get sorted out.

86.155.78.191 (talkcontribs)

Thank you for paying attention. I am a big terrible child on wikt but it's generally hard to get eyeballs on problems that we find. This seems like one of those "safe display" questions like converting everything to %xx before you render it to a Web page, so that you don't accidentally write HTML tags. Technically it's correct to render the Unicode combining form "as is" but Wiktionary is a bit strange in having these things as page titles (where Wikipedia never would). Let's see...

Erutuon (talkcontribs)

It's variable for me. For me this character (U+0342 COMBINING GREEK PERISPOMENI) is unclickable, but Equinox's character (U+0489 COMBINING CYRILLIC MILLIONS SIGN) has a narrow "hitbox" way over on the right of the displayed character that I can click. Either way it's not good.

TJones (WMF) (talkcontribs)

@86.155.78.191—Wikipedia does have this problem, too! It's not on the search page, but ҉ is a redirect to "Cyrillic numerals" and the combining form of ` redirects to "Grave accent". Where they say "Redirected from ..." the redirect titles are unclickable and hard to read. There are similar problems on the "what links here" page with those redirects. That's why I pushed for a lower-level fix in the Phab ticket.

@Erutuon, it does seem to vary by character and browser (I'd bet it varies by OS, too), but even when they are clickable, it shouldn't be like playing some puzzle game where you are trying to find that one clickable pixel!

If you have Phab accounts, please consider subscribing to the ticket and adding your comments over there, too.


Reply to "Can't visit result if page title is a Unicode combining form"