Page MenuHomePhabricator

Use CommentStore::COMMENT_CHARACTER_LIMIT for maximum length in Global Block reasons
Closed, ResolvedPublic

Description

Currently, the maximum length for a reason for a global block is limited to 255 characters, the old limit on the length of comments. This has been raised to 500, and to ensure that any further changes are automatically used, CommentStore::COMMENT_CHARACTER_LIMIT should be used for the limit.

Event Timeline

Change 532099 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/GlobalBlocking@master] Increase global block reason maximum length to use CommentStore::COMMENT_CHARACTER_LIMIT

https://gerrit.wikimedia.org/r/532099

Change 532099 merged by jenkins-bot:
[mediawiki/extensions/GlobalBlocking@master] Increase global block reason maximum length to use CommentStore::COMMENT_CHARACTER_LIMIT

https://gerrit.wikimedia.org/r/532099