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

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

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

个编辑

导航菜单