X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FOutputPage.php;h=d34ace8fb0f5b7a7b94b7b99eab856161f4bce4f;hp=c8a385a5102e780f8f8b9d8876a74bd9784af9d4;hb=28adc4d7eef2d7d8e5696a4f9849538a769daa00;hpb=b7c4c8717f964d1890d185ec3e6e9481fcb734e4 diff --git a/includes/OutputPage.php b/includes/OutputPage.php index c8a385a510..d34ace8fb0 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -3082,7 +3082,12 @@ class OutputPage extends ContextSource { */ function getBottomScripts() { return $this->getScriptsForBottomQueue() . - Skin::makeVariablesScript( [ 'wgPageParseReport' => $this->limitReportData ] ); + ResourceLoader::makeInlineScript( + ResourceLoader::makeConfigSetScript( + [ 'wgPageParseReport' => $this->limitReportData ], + true + ) + ); } /**