User:让我倾听/common.js

mw.loader .using(["oojs-ui-core", "oojs-ui.styles.icons-content"]) .done(function {        $.when( mw.loader.getScript('https://seiry.github.io/wikipedia-section-summaries/sectionFinder.js', 'text/javascript'), mw.loader.getScript('https://seiry.github.io/wikipedia-section-summaries/widget.js', 'text/javascript'), mw.loader.load("https://seiry.github.io/wikipedia-section-summaries/widget.css", "text/css") ).then( function { initializeSectionSummarizer; },           function (e) { mw.log.error(e.message); }       ); });