MediaWiki:Gadget-Edittools-vector.js:修订间差异
跳到导航
跳到搜索
无编辑摘要
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
第3行: | 第3行: | ||
/* Check if we are in edit mode and the required modules are available and then customize the toolbar */ | /* Check if we are in edit mode and the required modules are available and then customize the toolbar */ | ||
if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) !== -1 ) { | if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) !== -1 ) { | ||
if ( mw.user.options.get(' | if ( mw.user.options.get('wikiEditor-ui') ) { | ||
mw.loader.using( 'ext.wikiEditor-ui-toolbar', function () { | mw.loader.using( 'ext.wikiEditor-ui-toolbar', function () { | ||
$(document).ready( function() { | $(document).ready( function() { |