/*!
* JavaScript for Special:MovePage
*/
-jQuery( function ( $ ) {
- $( '#wpReason, #wpNewTitleMain' ).byteLimit();
+jQuery( function () {
+ // Infuse for pretty dropdown
+ OO.ui.infuse( 'wpNewTitle' );
+ // Limit to 255 bytes, not characters
+ OO.ui.infuse( 'wpReason' ).$input.byteLimit();
+ // Infuse for nicer "help" popup
+ OO.ui.infuse( 'wpMovetalk-field' );
} );