dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only pretty-print the parser report JS vars
[lhc/web/wiklou.git]
/
includes
/
OutputPage.php
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
c8a385a
..
d34ace8
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-3082,7
+3082,12
@@
class OutputPage extends ContextSource {
*/
function getBottomScripts() {
return $this->getScriptsForBottomQueue() .
*/
function getBottomScripts() {
return $this->getScriptsForBottomQueue() .
- Skin::makeVariablesScript( [ 'wgPageParseReport' => $this->limitReportData ] );
+ ResourceLoader::makeInlineScript(
+ ResourceLoader::makeConfigSetScript(
+ [ 'wgPageParseReport' => $this->limitReportData ],
+ true
+ )
+ );
}
/**
}
/**