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

       Web browser: ---
             Bug #: 29067
           Summary: Expose user.tokens like we do user.options in
                    ResourceLoader
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: krinklem...@gmail.com
                CC: roan.katt...@gmail.com
    Classification: Unclassified


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.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to