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

       Web browser: ---
            Bug ID: 45825
           Summary: GettingStarted article click gives mw.Api console
                    error on page visit
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: GettingStarted
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

In both Firefox and Chromium, upon clicking an article in GettingStarted, the
console reports an error:

mw.Api error: http Object { xhr={...}, textStatus="error", exception= "" }

This is I think GettingStarted's prepareToSendOnTour() making an api post to
set the userjs-gettingstarted-showtour user option to 0.

action=options&format=json&change=userjs-gettingstarted-showtour%3D0&token=4bf9599f4830316d4bdc4fd49a597cea%2B%5C

The user preference seems to be set to 0 despite the API warning and there
isn't an actual API return failure, so maybe it's not significant.  It could be
related to the apparent double calls to prepareToSendOnTour (bug 45824), or
just making the API request and then leaving the page with window.location =
url;

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

Reply via email to