Page MenuHomePhabricator

Use CommentStore::COMMENT_CHARACTER_LIMIT for maximum length in Global Block reasons
Open, Needs TriagePublic

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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSat, Aug 24, 8:57 PM

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