Page MenuHomePhabricator

[Regression] DebugToolbar: Cannot convert 'this.data' to object (due to load order)
Closed, ResolvedPublic

Description

$wgDebugToolbar = true; does not show the debug toolbar on Opera 12.16. In the console is a javascript error "Cannot convert 'this.data' to object"

It refers to the line 153 in mediawiki.debug.js:
paneTriggerBitDiv( 'console', 'Console', this.data.log.length );

this.data seems to be null here


Version: 1.22.0
Severity: normal

Details

Reference
bz56120

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:32 AM
bzimport set Reference to bz56120.

Probably affects all browsers, caused by incorrect load order… I think this is a 1.22 cycle regression.

Change 91667 had a related patch set uploaded by Bartosz Dziewoński:
SkinTemplate: Move debug HTML above bottomscripts

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

Change 91667 merged by jenkins-bot:
SkinTemplate: Move debug HTML above bottomscripts

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

Change 92990 had a related patch set uploaded by Bartosz Dziewoński:
SkinTemplate: Move debug HTML above bottomscripts

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

Merged and backported.

Change 92990 merged by jenkins-bot:
SkinTemplate: Move debug HTML above bottomscripts

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