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

            Bug ID: 71002
           Summary: mediawiki.action.view.redirect.js: Not idempotent when
                    used on double redirect (refreshing the page redirects
                    the user elsewhere)
           Product: MediaWiki
           Version: 1.24-git
          Hardware: All
                OS: All
            Status: NEW
          Keywords: easy
          Severity: minor
          Priority: Unprioritized
         Component: JavaScript
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

mediawiki.action.view.redirect.js is not idempotent when used on double
redirect, on a wiki where $wgMaxRedirects is 1 (the default). Refreshing the
redirect page redirects the user further in the chain.

To reproduce, create redirect chain A → B → C, then visit A. Observe that
you're seeing B. Refresh the page, you're seeing C now.

We probably need to add ?redirect=no to the URL in some cases.

-- 
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