Page MenuHomePhabricator

Talk page diff links don't play nicely with Android intents / open-with dialog
Open, Needs TriagePublic

Description

Diffs to talk pages (such as users receive in email watchlist notifications) result in a loop when you try to open them with the Android app.

The new native Talk page display is great! I can follow a talk link from a watchlist email and see what someone said! It looks great!

However, if I open the diff link from such a watchlist email, it opens the 'open with' dialog, and if I choose the Android app, it immediately re-opens the 'open with' dialog, and I can engage in an endless cycle of trying and failing to view a diff using the app.

Event Timeline

Thanks for checking it out, @Ragesoss !
We're definitely thinking about how to handle this better. It happens because the app currently doesn't handle user contribution pages natively, so it bounces the user out to the user's default web browser app. However, our app is also configured to handle any external links of the form *.wikipedia.org/wiki/*, so our app will also keep appearing in the list of "external" apps that can handle the link.
Unfortunately Android intents don't offer enough granularity to exclude URLs in a certain namespace (i.e. Special:) while including all the others.

In our Board Refinement meeting we discussed converting to webview in instances that we take users out of the app, once we do that it should fix this case.

In our Board Refinement meeting we discussed converting to webview in instances that we take users out of the app, once we do that it should fix this case.

From my perspective as a frequent user of the app, I think that would be a very nice improvement.