Page MenuHomePhabricator

Page view after VisualEditor edit missing wgPageParseReport
Closed, ResolvedPublic

Description

See T145717: Performance inspector fatals if opened after saving VisualEditor edit for the original task where this problem was reported.

When saving an edit with VisualEditor, the wgPageParseReport variable is not populated. This is unexpected since that page view should, as much as possible, match how a page view would be after a refresh.

VisualEditor uses the Query, Parse, and Edit APIs behind the scenes. And it uses them to get a list of modules to ensure loaded, as well as mw.config variables to set. And it re-fires relevant mw.hook events.

It seems somewhere along the way wgPageParseReport drops off the radar. Could be an issue in VisualEditor's API module, or in MediaWiki core's API module, or elsewhere in core.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Well, it doesn't get unset. Are you expecting it to be overwritten? It's not returned to the client by action=visualeditoredit's jsconfigvars return data for overwriting, that comes from action=parse's jsconfigvars prop

Jdforrester-WMF changed the task status from Open to Stalled.Nov 8 2016, 8:16 PM
Krinkle claimed this task.
Krinkle added a project: Performance-Team.