getOutput(); $out->addModules( 'ext.RevisionSlider.init' ); $out->addHTML( '
' ); $placeHolder = ( new Message( 'revisionslider-loading-placeholder' ) )->parse(); $out->addHTML( '

' . $placeHolder. '

' ); $noScriptMessage = ( new Message( 'revisionslider-loading-noscript' ) )->parse(); $out->addHTML( '' ); $out->addHTML( '
' ); } public static function onResourceLoaderTestModules( array &$testModules, ResourceLoader $rl ) { $testModules['qunit']['ext.RevisionSlider.tests'] = [ 'scripts' => [ 'tests/RevisionSlider.Revision.test.js', ], 'dependencies' => [ 'ext.RevisionSlider.Revision' ], 'localBasePath' => __DIR__, ]; return true; } }