From 0af37928738c16e7f240727c5dc5bbafad9edc01 Mon Sep 17 00:00:00 2001 From: DannyS712 Date: Thu, 22 Aug 2019 18:19:23 +0000 Subject: [PATCH] Allow justifications in `Special:EditTags` to use full comment length Bug: T188460 Change-Id: Ib3d5207432b741b9382db0d963a42ed4c8a59a79 --- includes/specials/SpecialEditTags.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" . -- 2.20.1