2 * JavaScript for Special:EditTags
6 var $tagList
= $( '#mw-edittags-tag-list' );
7 if ( $tagList
.length
) {
9 /*jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
10 placeholder_text_multiple
: mw
.msg( 'tags-edit-chosen-placeholder' ),
11 no_results_text
: mw
.msg( 'tags-edit-chosen-no-results' )
15 $( '#mw-edittags-remove-all' ).on( 'change', function ( e
) {
16 $( '.mw-edittags-remove-checkbox' ).prop( 'checked', e
.target
.checked
);
18 $( '.mw-edittags-remove-checkbox' ).on( 'change', function ( e
) {
19 if ( !e
.target
.checked
) {
20 $( '#mw-edittags-remove-all' ).prop( 'checked', false );
24 }( mediaWiki
, jQuery
) );