From: DannyS712 Date: Thu, 22 Aug 2019 18:19:23 +0000 (+0000) Subject: Allow justifications in `Special:EditTags` to use full comment length X-Git-Tag: 1.34.0-rc.0~624^2 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=0af37928738c16e7f240727c5dc5bbafad9edc01;p=lhc%2Fweb%2Fwiklou.git Allow justifications in `Special:EditTags` to use full comment length Bug: T188460 Change-Id: Ib3d5207432b741b9382db0d963a42ed4c8a59a79 --- diff --git a/includes/specials/SpecialEditTags.php b/includes/specials/SpecialEditTags.php index 6ef6cb3f7d..70a1bd4783 100644 --- a/includes/specials/SpecialEditTags.php +++ b/includes/specials/SpecialEditTags.php @@ -261,8 +261,7 @@ class SpecialEditTags extends UnlistedSpecialPage { // HTML maxlength uses "UTF-16 code units", which means that characters outside BMP // (e.g. emojis) count for two each. This limit is overridden in JS to instead count // Unicode codepoints. - // "- 155" is to leave room for the auto-generated part of the log entry. - 'maxlength' => CommentStore::COMMENT_CHARACTER_LIMIT - 155, + 'maxlength' => CommentStore::COMMENT_CHARACTER_LIMIT, ] ) . '' . "\n" .