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

“MediaWiki:Gadget-Cat-a-lot.js”的版本间差异

跳转到导航 跳转到搜索
删除435字节 、​ 2020年8月11日 (二) 03:31
无编辑摘要
.appendTo( $head );
$container.one( 'mouseover', function () { // Try load on demand earliest as possible
mw.loader.load( [ 'oojs-jquery.ui-core', 'oojs-ui-widgets', 'oojs-ui-toolbars', 'oojs-ui-windows' ] );
} );
 
$( this ).toggleClass( 'cat_a_lot_enabled' );
// Load autocomplete on demand
mw.loader.using( [ 'oojs-jquery.ui-core', 'oojs-ui-widgets', 'oojs-ui-toolbars', 'oojs-ui-windows' ], initAutocomplete );
 
if ( !CAL.executed ) {
$.when( mw.loader.using( [
'oojs-jquery.ui-core',
'oojs-ui-widgets',
'oojs-ui-toolbars',
'oojs-ui-windows',
'mediawiki.api',
'mediawiki.jqueryMsg'
if ( $( '#cat_a_lot_comment' ).prop( 'checked' ) ) { this.summary = window.prompt( msg( 'edit-question' ), '' ); } // TODO custom pre-value
if ( this.summary !== null ) {
mw.loader.using( [ 'oojs-jquery.ui-core', 'oojs-ui-widgets', 'oojs-ui-toolbars', 'oojs-ui-windows', 'jquery.spinner', 'mediawiki.util' ], function () {
CAL.showProgress();
CAL.getTargetCat( pages, targetcat, mode );
createCatLinks: function ( symbol, list, table ) {
list.sort();
var button = ( this.settings.button && mw.loader.getState( 'oojs-ui-core' ) === 'ready' && mw.loader.getState( 'oojs-ui-widgets' ) === 'ready' && mw.loader.getState( 'oojs-ui-toolbars' ) === 'ready' && mw.loaderjquery.getState( 'oojs-ui-windows' ) === 'ready' ) ? 1 : 0;
for ( var c = 0; c < list.length; c++ ) {
var $tr = $( '<tr>' ),
16,874

个编辑

导航菜单