2 * JavaScript module used on Special:PageLanguage
6 // Select the 'Language select' option if user is trying to select language
7 if ( $( '#mw-pl-languageselector' ).length ) {
8 OO.ui.infuse( $( '#mw-pl-languageselector' ) ).on( 'change', () => {
9 OO.ui.infuse( $( '#mw-pl-options' ) ).setValue( '2' );