LLWiki正在建设中,欢迎加入我们

“MediaWiki:Gadget-inspect.js”的版本间差异

跳转到导航 跳转到搜索
添加23字节 、​ 2020年12月19日 (六) 11:12
无编辑摘要
api = new mw.Api(),
outer = $('<div>', {class: 'inspector'}).resizable({handles: 'w', minWidth: 350})
.insertBefore( $content.children( '.mw-parser-output, #mw-imagepage-content' ) ),
editor = new CodeMirror(outer[0], {mode: 'text/mediawiki', mwConfig: config, lineWrapping: true}),
wrapper = $( editor.getWrapperElement() ),
16,874

个编辑

导航菜单