X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialJavaScriptTest.php;h=37dba537746dc0c2d9067bdd26b1a8672695ce53;hb=9ee6461287f5d2d6fae719ec62ae6465e0a3809d;hp=e20382cba09aa2e6c011ba5e6b1421d2a8512e3e;hpb=734ca2b4d2a1246fb0ea1e54b861ab423ab5e257;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialJavaScriptTest.php b/includes/specials/SpecialJavaScriptTest.php index e20382cba0..37dba53774 100644 --- a/includes/specials/SpecialJavaScriptTest.php +++ b/includes/specials/SpecialJavaScriptTest.php @@ -168,12 +168,12 @@ class SpecialJavaScriptTest extends SpecialPage { HTML; - $out->addHtml( $this->getSummaryHtml() . $baseHtml ); + $out->addHTML( $this->getSummaryHtml() . $baseHtml ); // The testrunner configures QUnit and essentially depends on it. However, test suites // are reusable in environments that preload QUnit (or a compatibility interface to // another framework). Therefore we have to load it ourselves. - $out->addHtml( ResourceLoader::makeInlineScript( + $out->addHTML( ResourceLoader::makeInlineScript( Xml::encodeJsCall( 'mw.loader.using', [ [ 'jquery.qunit', 'jquery.qunit.completenessTest' ], new XmlJsCode(