https://bugzilla.wikimedia.org/show_bug.cgi?id=36310
--- Comment #9 from Umherirrender <umherirrender_de...@web.de> 2012-05-31 19:15:19 UTC --- It is already there (includes/specials/SpecialMovepage.php, around line 290) and that makes problems, because the browser is deleted it on first validate, that gives -1 for the javascript. <tr> <td class='mw-label'>" . Xml::label( $this->msg( 'movereason' )->text(), 'wpReason' ) . "</td> <td class='mw-input'>" . Html::element( 'textarea', array( 'name' => 'wpReason', 'id' => 'wpReason', 'cols' => 60, 'rows' => 2, 'maxlength' => 200 ), $this->reason ) . "</td> </tr>" After the dom is ready and shown, you can add maxlength with javascript and it works (de.wp uses a workaround). Maybe jQuery simulates it, I do not know. if( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Movepage' ) { $( function() { var wpReason = $( '#wpReason' ); wpReason.removeAttr( 'maxLength' ); mw.loader.using( [ 'jquery.byteLimit' ], function() { //restore byteLimit wpReason.byteLimit( 200 ); }); }); } -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l