Skip to content

Commit

Permalink
MarkBlocked: remove mw.loader.using
Browse files Browse the repository at this point in the history
moved to MediaWiki:Gadgets-definition
  • Loading branch information
NovemLinguae committed Jul 2, 2024
1 parent e8d2989 commit 603000f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gadget-markblocked.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ switch ( mw.config.get( 'wgAction' ) ) {
maybeAutostart.resolve();
}

$.when( $.ready, mw.loader.using( [ 'mediawiki.util', 'mediawiki.api' ] ), maybeAutostart ).then( () => {
$.when( $.ready, maybeAutostart ).then( () => {
let firstTime = true;

mw.hook( 'wikipage.content' ).add( ( container ) => {
Expand Down

0 comments on commit 603000f

Please sign in to comment.