Page MenuHomePhabricator

[Regression] Unable to browse certain wikitech.wikimedia.org urls from mobile device (Apache error)
Closed, DuplicatePublic

Description

This isn't about redirects or bad layouts, the server is simply not responding when sending a mobile device user-agent header.

Opening https://wikitech.wikimedia.org/w/index.php?title=Special:Contributions&limit=100&target=Krinkle in Chrome with an Android user-agent string simulated result in a 404 response (not a redirect first, the url itself is directly rejected)

GET /w/index.php?title=Special:Contributions&limit=100&target=Krinkle HTTP/1.1


HTTP/1.1 404 Not Found
Date: Sat, 05 Dec 2015 17:03:09 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000
X-Powered-By: PHP/5.5.9-1ubuntu4.13
X-Content-Type-Options: nosniff
Cache-control: private, must-revalidate, max-age=0
Vary: Accept-Encoding,Cookie
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Length: 225
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8

Screen Shot 2015-12-05 at 17.07.34.png (332×922 px, 39 KB)

No such page
Cannot look at history for a page that doesn't exist. It may have been deleted or you may have followed a bad link.

I'm not sure where this is coming from, I've never seen this type of error.

https://wikitech.wikimedia.org/wiki/Special:Contributions is also broken. But https://wikitech.wikimedia.org/wiki/Special:Contributions/Krinkle seems to work fine.

Related:

Event Timeline

Krinkle raised the priority of this task from to High.
Krinkle updated the task description. (Show Details)
Krinkle subscribed.
Krinkle renamed this task from [Regression] Unable to browse wikitech.wikimedia.org from mobile device (Apache error) to [Regression] Unable to browse certain wikitech.wikimedia.org urls from mobile device (Apache error).Dec 5 2015, 5:10 PM
Krinkle updated the task description. (Show Details)
Krinkle set Security to None.

The same error happens when trying to visit https://en.m.wikipedia.org/w/index.php?title=Special:Contributions&limit=100&target=Krinkle which makes me think this is a bug (or misfeature) in MobileFrontend. I think this is caused by the hijacking of Special:Contributions that MobileFrontend does.

@Jdlrobson: I think this might deserve the attention of the Web-Team team if only to confirm that this is a known issue with MobileFrontend

Not a regression it's always been this way. The desktop contributions page needs a lot of love to be mobile friendly. MobileFrontend swaps it out just as it does with history and watchlist with suboptimal limited results (contributions on mobile doesn't currently support filters)