Page MenuHomePhabricator

Expose user.tokens like we do user.options in ResourceLoader
Closed, ResolvedPublic


The two most common user specific things that gadgets and extensions use in the front-end are preferences as tokens from what I can see.

in 1.17 we started embedding these in the user.options module, I think we should do the same for tokens. This would no longer require extensions like WikiLove to add a script tag to the HTML root of the document storing the edittoken.

Proposing to add a user.tokens module and either loading by default as part of another http request in the 'user' group or embedding on the page.

Version: 1.20.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:38 PM
bzimport set Reference to bz29067.
Krinkle created this task.May 21 2011, 10:28 AM

Fixed in r88553.

Restricted Application added a project: Performance-Team. · View Herald TranscriptMar 7 2020, 11:39 AM