Page MenuHomePhabricator

Move Echo page-level data to something async (wgEchoInteractionLogging, wgEchoEventLoggingVersion)
Closed, ResolvedPublic

Description

In the HTML on all pages (for logged-in users):

"wgEchoInteractionLogging": true,
"wgEchoEventLoggingVersion": "1.12"
"wgWikiId": "testwiki"

These are static and not user or page specific, as such they would be better moved out of the HTML in the critical path, to something async (e.g. the startup module config) or (even better) bundled with the module bundle that needs it.

Event Timeline

Change 524633 had a related patch set uploaded (by Catrope; owner: Catrope):
[mediawiki/extensions/Echo@master] Bundle logger-related config vars with ext.echo.logger module

https://gerrit.wikimedia.org/r/524633

Change 524633 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] Bundle logger-related config vars with ext.echo.logger module

https://gerrit.wikimedia.org/r/524633

Etonkovidova claimed this task.