I suspect it comes from this code:
$( 'div#centralNotice' ) .attr( 'class', mw.html.escape( 'cn-' + cn.internal.state.getData().category ) )
Krinkle | |
Nov 10 2015, 10:45 PM |
F2952269: Screen Shot 2015-11-10 at 22.44.34.png | |
Nov 10 2015, 10:45 PM |
I suspect it comes from this code:
$( 'div#centralNotice' ) .attr( 'class', mw.html.escape( 'cn-' + cn.internal.state.getData().category ) )
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
ext.centralNotice.display: Fix class of CN div | mediawiki/extensions/CentralNotice | master | +1 -1 |
@Krinkle how big of a deal is this? We're in code freeze for non-essential fixes to CentralNotice through the December fundraising campaign.
It means some part of CentralNotice frontend is broken. I don't know how severe.
Either way, I don't know. I merely saw the leak when debugging something unrelated. Where it's leaking from, how much, and what it is causing you'd have to ask someone who knows CentralNotice better.
All banners come with a default category of {{{campaign}}}, and we're using the category for an increasing amount of real stuff, so this needs fixin'.
Change 252768 had a related patch set uploaded (by AndyRussG):
ext.centralNotice.display: Fix class of CN div