X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fdebug%2FMWDebug.php;h=2189498687703f1169e7d2744dc5518bf5b26431;hb=99a57ca021d6e2c7bb25d927d47d8657e60b48e8;hp=74798414876e219c418fbadb3267cf88fdbbe7c1;hpb=743eca95e3065abf3091d343a4ab88ee4508483a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/debug/MWDebug.php b/includes/debug/MWDebug.php index 7479841487..2189498687 100644 --- a/includes/debug/MWDebug.php +++ b/includes/debug/MWDebug.php @@ -431,7 +431,8 @@ class MWDebug { // Cannot use OutputPage::addJsConfigVars because those are already outputted // by the time this method is called. $html = ResourceLoader::makeInlineScript( - ResourceLoader::makeConfigSetScript( [ 'debugInfo' => $debugInfo ] ) + ResourceLoader::makeConfigSetScript( [ 'debugInfo' => $debugInfo ] ), + $context->getOutput()->getCSPNonce() ); }