Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardDetails.js |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | // http://commons.wikimedia.org/wiki/MediaWiki:Filename-prefix-blacklist |
47 | 47 | // XXX make sure they can't use ctrl characters or returns or any other bad stuff. |
48 | 48 | _this.titleId = "title" + _this.upload.index; |
49 | | - _this.titleInput = $j( '<input type="text" id="' + _this.titleId + '" name="' + _this.titleId + '" class="mwe-title"/>' ) |
| 49 | + _this.titleInput = $j( '<input type="text" id="' + _this.titleId + '" name="' + _this.titleId + '" class="mwe-title" maxlength="250"/>' ) |
50 | 50 | .keyup( function() { |
51 | 51 | _this.upload.title.setNameText( _this.titleInput.value ); |
52 | 52 | // TODO update a display of filename |