mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-23 15:57:03 +00:00
Use explicit mw.msg() instead of implicit mw.message()
The mw.Message object from mw.message() gets implicit converted to a string. Change-Id: Id95446bdd2a47bf0262220b3b962e4f747d7c31c
This commit is contained in:
parent
cbbf2cc376
commit
2b320e7ec6
|
@ -6,7 +6,7 @@
|
|||
var $pages = $( this ).find( 'input[name="pages[]"][type="checkbox"]:checked' );
|
||||
if ( $pages.length ) {
|
||||
// eslint-disable-next-line no-alert
|
||||
return confirm( mw.message( 'nuke-confirm', $pages.length ) );
|
||||
return confirm( mw.msg( 'nuke-confirm', $pages.length ) );
|
||||
}
|
||||
} );
|
||||
|
||||
|
|
Loading…
Reference in a new issue