Allow justifications in `Special:EditTags` to use full comment length
authorDannyS712 <DannyS712.enwiki@gmail.com>
Thu, 22 Aug 2019 18:19:23 +0000 (18:19 +0000)
committerDannyS712 <DannyS712.enwiki@gmail.com>
Thu, 22 Aug 2019 18:20:01 +0000 (18:20 +0000)
Bug: T188460
Change-Id: Ib3d5207432b741b9382db0d963a42ed4c8a59a79

includes/specials/SpecialEditTags.php

index 6ef6cb3..70a1bd4 100644 (file)
@@ -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,
                                                ] ) .
                                        '</td>' .
                                "</tr><tr>\n" .