Merge "Remove SourceIndexField FLAG_SOURCE_DATA"
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.movePage.js
index 7e56050..9af81b8 100644 (file)
@@ -1,6 +1,11 @@
 /*!
  * 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' );
 } );