MediaWiki:Gadget-Massblock.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Ehhhh per oggi può bastare |
... |
||
Riga 48:
// This will hold the localized messages and must be defined before importing the
// script (see [[MediaWiki:Gadget-Massblock.js]])
var localMsg = localMessages || {};
// OOUI element
Riga 678:
/**
* Init this gadget.
*/
$( function
console.log( 'Loading Massblock.' );
if ( mw.config.get( "wgNamespaceNumber" ) === -1 &&
Line 687 ⟶ 685:
( /sysop/ ).test( mw.config.get( "wgUserGroups" ) )
) {
mw.loader.using( [ 'mediawiki.util', 'mediawiki.api', 'mediawiki.jqueryMsg', 'oojs-ui-core', 'oojs-ui-widgets', 'oojs-ui-windows' ], $.ready )
.then( function loadMsg() {
Line 699 ⟶ 696:
} );
}
} );
|