Page MenuHomePhabricator

Tables do not render correctly in search results
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
A result for a page is returned — the table is not rendered correctly.

image.png (141×583 px, 10 KB)

What should have happened instead?:
A result for a page is returned — the table is either rendered correctly or a "plain text" table representation should be shown.
I'm sure

<div class="searchresult">
    Network Logs Config Sane defaults Notes OSSEC 2019 No No Yes Yes Yes Yes <span class="searchmatch">Wazuh</span> 2022 No No Yes Yes Yes Yes Samhain 2021 Yes No Yes No Partial No Snort 2018
</div>

can be displayed a little nicer?

Other information (browser name/version, screenshots, etc.):
Screenshot below from the tweet I saw (gewt) about this, so this affects both mobile & desktop.

image.png (431×828 px, 105 KB)

Event Timeline

Thanks for letting us know. This is an unfortunate artifact of how we index wikitext -- to improve the search algorithm formatting is often stripped out with remaining text kept in auxiliary files. Unfortunately, rendering more than text in search results text snippets is not something we are planning to do right now, and I'm declining this ticket.
That being said, there is work being done on improving the special:search UI in other ways, including a results preview, which may be able to render article tables in the future.

RhinosF1 removed a project: Discovery-Search.
RhinosF1 subscribed.

Re-opening tasks and removing from team workboard per IRC feedback given yesterday and discussion with MPham.