https://bugzilla.wikimedia.org/show_bug.cgi?id=54101

       Web browser: ---
            Bug ID: 54101
           Summary: Fragment identifier not passed over when transferred
                    from desktop to mobile
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

If you are on mobile and you click a link to the desktop version, you get
redirected to the mobile version. This loses the fragment identifier on the
end.

For instance, open the following link on mobile (or in a desktop browser set
with a mobile user agent header):

https://en.wikipedia.org/wiki/Paella#Valencian_paella

On desktop, it'll take you to the sub-section on Valencian paella. On mobile,
it takes you to the article and doesn't take you to the specific subsection.

There may not be much you can do, although StackOverflow says that the Location
header may contain the full URL with fragment.
http://stackoverflow.com/questions/2286402/url-fragment-and-302-redirects

The location header could be parsed, and if it contains the equivalent desktop
URL with a fragment identifier, the fragment identifier could be passed to the
mobile version so the user can be taken to the right place in the page.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to