Skip to content

Commit

Permalink
MarkBlocked: add back mw.loader.using
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Jul 3, 2024
1 parent 91634c8 commit a23cfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gadgets/Gadget-markblocked.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Forked from https://ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markbloc
$.when(
$.ready,
// keep mw.loader.using in case folks are loading this as a user script
mw.loader.using( [ 'mediawiki.util', 'mediawiki.page.ready', 'mediawiki.Title' ],
mw.loader.using( [ 'mediawiki.util', 'mediawiki.page.ready', 'mediawiki.Title' ] ),
maybeAutostart
).then( () => {
let firstTime = true;
Expand Down

0 comments on commit a23cfff

Please sign in to comment.