User "Platonides" posted a comment on MediaWiki.r88553. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88553#c17156 Commit summary:
Adding user.tokens module and loading by default. (ResourceLoaderUserTokensModule Class) Comment: So each time a user views a page the edit token is streamed to him in the bottom of the page? It doesn't seem a good idea. I think it should be lazy loaded. The first time a token is used, there is an AJAX post to the api that requests it and caches them in sessionStorage. If you also preload it on edit pages, there's no penalty involved. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
