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

       Web browser: ---
             Bug #: 37227
           Summary: Session failure
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The user can be logged out due to several reasons and then the token will be
illegal and use of it will lead to a session failure. In ApiSetItem this is
reported as a no-token -error which is wrong. When this happens the error
message should be intercepted and the user logged in again. Preferably without
the user loosing any on-going changes.

A guess is that a small popup window asking for user credentials should be
sufficient, and after logging in the user through the ordinary API the Wikibase
API can be queried for new token(s).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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