16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
(// Edit via Wikiplus) |
小 |
||
html: "html"
},
contentModel = mw.config.get( "wgPageContentModel" ).toLowerCase()
script = mw.config.get( "wgScript" );
if (contentModel in acceptLangs) {
$content.find( '.mw-code' ).addClass( 'hljs linenums ' + acceptLangs[contentModel] );
});
if ($content.find( '.hljs' ).length) {
mw.loader.load( script + '
}
});
|