Page MenuHomePhabricator

Add redlink experience to empty search results on Mobile (no-JS version)
Open, Stalled, LowPublic

Description

Description

Note: This is a similar task to T211006, however it's about the no-JS search experience on mobile, which is shared with desktop. Any changes here must consider impact on desktop.

When the precise search term was not found, desktop MediaWiki search results include a red link using which a new article can be created. Such a red link doesn't appear on the mobile search results. We should add one so that people can more easily create pages from mobile. There seem to be two cases to consider here (both sometimes have the additional "Did you mean" element present):

no page found, search term not found in other pagesno page found, search term found in other pages

Designs

coming soon

Event Timeline

Change 580407 had a related patch set uploaded (by Tacsipacsi; owner: Tacsipacsi):
[mediawiki/skins/MinervaNeue@master] This is not overdesigned, but at least it exists, and makes it possible to create articles on mobile.

https://gerrit.wikimedia.org/r/580407

Incoming code review request. I will have a screenshot of the proposed change shortly.

@alexhollender trust this is okay as an interim step?

Looking good. Upon further consideration I think it would make sense to swap the order of the lines (both on desktop and mobile), e.g.
There were no results matching this query.
Create the page "..." on this wiki

Thoughts on the case "no page found, search term found in other pages"? (see mock in description for context)

@alexhollender trust this is okay as an interim step?

Looking good. Upon further consideration I think it would make sense to swap the order of the lines (both on desktop and mobile), e.g.
There were no results matching this query.
Create the page "..." on this wiki

Thoughts on the case "no page found, search term found in other pages"? (see mock in description for context)

We could likely achieve that using flex box and order but I think that greatly increases the scope. Suitable in another task or do you see fixing this as blocking? I'm happy to set said task up.

Forgot to add this part of the workflow which happens when you click the link:

I'm guessing this is stalled but on what task?

I'm guessing this is stalled but on what task?

On a decision on T211006: Add red link experience to empty search results on Minerva (JS version) - I think the last plan was to try to get some more info/data on how users would perceive the link to function

Jdlrobson changed the task status from Open to Stalled.May 29 2020, 3:28 PM

Stalled on T211006

Change 580407 abandoned by Jdlrobson:
[mediawiki/skins/MinervaNeue@master] Show red link at top of search results (non-JS version)

Reason:
Given https://phabricator.wikimedia.org/T211006#5979746 and https://phabricator.wikimedia.org/T211006#5021515 I recommend doing this in MediaWiki:Common.css as an interim state instead of doing this in Minerva.

https://gerrit.wikimedia.org/r/580407