Page MenuHomePhabricator

action=mobileview does not apply Main page transformation when requesting page that redirects to Main page
Closed, ResolvedPublic

Description

What happens when you search for "main page"

If you search for "main page" (all lower case) and press go, you get served the header from the main page on desktop, a strange little green box, and nothing else (see attachment).

I'd guess this is probably due to [[Main page]] redirecting to [[Main Page]] and the app not realising that it's the main page and treating it accordingly.

Searching for main page in lower case should serve the normal, app-friendly main page to the user.


Version: unspecified
Severity: normal

Attached:

uZoK7mR.png (1×800 px, 80 KB)

Details

Reference
bz66294

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:23 AM
bzimport set Reference to bz66294.

I guess the code that checks if current page is main page is not resolving redirects first before checking.

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/oohlIKmC

Change 140141 had a related patch set uploaded by Florianschmidtwelzow:
Follow redirect for Main Page check if enabled

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

Change 140141 merged by jenkins-bot:
Follow redirect for Main Page check if enabled

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