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

       Web browser: ---
             Bug #: 32017
           Summary: Expose the timestamp when the edit token was generated
                    along with the tokens
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


With mw.user.tokens.get( 'editToken' ) it is possible to get the edit token
without calling the API. But to detect conflicts you should set starttimestamp
to the time when you obtained the edit token ([[mw:API:Edit]]).
So this timestamp should be retrievable as easily as the tokens, perhaps as
mw.user.tokens.get( 'timestamp' ).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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