Page MenuHomePhabricator

Show short description for pages in search preview in Timeless
Open, MediumPublic

Description

Short descriptions (sometimes referred to as "taglines" or just "descriptions") are short few word snippets provided to give a reader an idea of what an article is about before reading it. English Wikipedia is aiming have a short description for each article. It would be helpful both as a reader and an editor to see the short descriptions in the search suggestion.

Prior art:
When generating the search suggestions, the skin MinervaNeue uses the "query" API action instead of the old/deprecated "opensearch" action. "query" returns all(?) of the information that "opensearch" provides and more including a description attribute. MinervaNeue uses that description to display the short description under the title.

search_preview_short_description.png (476×390 px, 91 KB)

Event Timeline

Thanks for triaging this @Reedy . I am sorry that I didn't explicitly say that I am using the Timeless skin for which this is a feature request. Would it be appropriate to keep the Timeless project tagged in this feature request or is this a broader feature?

In T263342#6477457, @Motevets wrote:

Thanks for triaging this @Reedy . I am sorry that I didn't explicitly say that I am using the Timeless skin for which this is a feature request. Would it be appropriate to keep the Timeless project tagged in this feature request or is this a broader feature?

It just seems odd to me to only be requesting this for Timeless, as Vector (legacy skin) doesn't have it (for example)... This functionality should be common across all skins, so yeah, it's a broader feature (IMHO).

Tagging Web-Team-Backlog as I think they're the best placed for doing this. Not sure offhand where the code for displaying those exists, it looks like prefixsearch is in MobileFrontend under $wgMFSearchGenerator... But I imagine there's potentially some common code that might want moving around etc

Unless I'm wrong, and it basically is at the point it needs changes in each skin as appropriate etc. It shouldn't need wheel reinvention in every different skin But they should know, and probably be able to attach this to some more relevant tags or parent tasks

ovasileva triaged this task as Medium priority.Oct 14 2020, 8:41 AM
This comment was removed by ovasileva.
Jdlrobson subscribed.

Vector has this now as part of integrating the WVUI library (https://en.wikipedia.org/?useskinversion=2), so since the request was for Timeless this doesn't makes sense in our backlog

Jdlrobson renamed this task from Show short description for pages in search preview to Show short description for pages in search preview in Timeless.Jun 11 2021, 5:47 PM
Aklapper added subscribers: ovasileva, Aklapper.

@ovasileva: Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on Feburary 22nd, 2023.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!