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.
Description
Description
Details
Details
Related Changes in Gerrit:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | None | T13543 Use CommentStore::COMMENT_CHARACTER_LIMIT everywhere | |||
| Resolved | DannyS712 | T231146 Use CommentStore::COMMENT_CHARACTER_LIMIT for maximum length in Global Block reasons | |||
| Resolved | Marostegui | T231172 Alter gbw_reason/gb_reason/gbw_by_text on WMF production | |||
| Resolved | DannyS712 | T231170 Alter globalblocking tables to allow longer comments | |||
| Resolved | DannyS712 | T231174 Change varchar columns into varbinary |
Event Timeline
Comment Actions
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
Comment Actions
Change 532099 merged by jenkins-bot:
[mediawiki/extensions/GlobalBlocking@master] Increase global block reason maximum length to use CommentStore::COMMENT_CHARACTER_LIMIT