From c49f919d90f2f2aef20b085627d596ccae3b2b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 26 Nov 2020 00:21:58 +0100 Subject: [PATCH] Remove maxLength from new section title in NWE MediaWiki doesn't have such a limitation. This might have been copied from the edit summary code, which used to be limited to 255 bytes. Change-Id: I4afe9b1cde0663c47c0c2502b6e32116b912208b --- modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js index f0e5023ed7..7c4dec6830 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js @@ -507,7 +507,6 @@ ve.init.mw.DesktopArticleTarget.prototype.setupNewSection = function ( surface ) this.sectionTitle = new OO.ui.TextInputWidget( { $element: $( '

' ), classes: [ 've-ui-init-desktopArticleTarget-sectionTitle' ], - maxLength: 255, placeholder: ve.msg( 'visualeditor-section-title-placeholder' ), spellcheck: true } );