Page MenuHomePhabricator

MobileFrontend talk overlay URL's are being shared and do not resolve on desktop site
Closed, DeclinedPublic

Description

The mobile site allows viewing of talk pages via an overlay designed to make large talk pages more readable.
When visiting the talk overlay and clicking a talk topic the talk topic is shown in an overlay.

We purposely use #!/talk/1 to mean open the first section in the mobile talk overlay while still allowing #Talk_Topic to point to the actual section on the talk page.

Apparently, people copy and paste the URL from mobile and paste it into wikitext... but this doesn't work on desktop.

Event Timeline

What is generating those URLS? I don't think anything in core does?

What is generating those URLS? I don't think anything in core does?

No idea. I thought Flow used URLs like that, but the page in question (original URL changed) didn't use Flow.

Ah. So it's a mobile url, with the m subdomain removed

Yay for consistency...

Peachey88 renamed this task from #/talk/5 URL not working for some people to MobileFrontend shouldn't use non-normal (#/talk/5) URL's [Also, they don't appear to be well supported on desktop browsers].Oct 31 2016, 6:38 AM
Peachey88 edited projects, added MobileFrontend; removed MediaWiki-General.
Jdlrobson renamed this task from MobileFrontend shouldn't use non-normal (#/talk/5) URL's [Also, they don't appear to be well supported on desktop browsers] to MobileFrontend talk overlay URL's are being shared and do not resolve to desktop.Oct 31 2016, 10:04 AM
Jdlrobson subscribed.

The mobile site allows viewing of talk pages via an overlay designed to make large talk pages more readable. There is nothing like this on desktop so this is not a matter of consistency.

We purposely use #!/talk/1 to mean open the first section in the mobile talk overlay while still allowing #Talk_Topic to point to the actual section on the talk page.

I've reworded the title as there is a good reason we are using these.
A simple solution might be to add a small bit of JS to the desktop site to handle the redirect.

Jdlrobson renamed this task from MobileFrontend talk overlay URL's are being shared and do not resolve to desktop to MobileFrontend talk overlay URL's are being shared and do not resolve on desktop site.Oct 31 2016, 10:06 AM
ovasileva triaged this task as Medium priority.Nov 2 2016, 7:48 PM
ovasileva moved this task from Incoming to Triaged but Future on the Web-Team-Backlog board.
Jdlrobson changed the task status from Open to Stalled.Apr 17 2017, 11:01 PM
Jdlrobson lowered the priority of this task from Medium to Low.
Jdlrobson updated the task description. (Show Details)

It's not really clear what to do here.... if anything.

If users are posting these URLs into talk pages and removing the .m prefix they are not properly sharing the URLs that their browser is giving them. If I change https://wikipedia.org/wiki/Foo to https://google.com/wiki/Foo it doesn't work so why should this..? :)