Page MenuHomePhabricator

mysql db field for comment/reason ("acr_comment") is limited to 255 characters but input field ("wpReason") is not.
Open, LowPublic

Description

When rejecting an account request or putting it on hold, the input field allows the administrator to write text of unlimited length, but when the reason is saved in the (mysql) database the content gets cut if it is longer than 255 characters, because the corresponding field is of type varchar(255). In postgres it is of type TEXT.
The type for the mysql db field should therefore also be changed to text.
As far as I understood it, the full text gets send to the user who requested the account, it is only cut once it is inserted into the db. So this text mainly affects other administrators who want to see why a certain account request was rejected/put on hold.

Event Timeline

Frog23 raised the priority of this task from to Low.
Frog23 updated the task description. (Show Details)
Frog23 subscribed.
Paladox added a subscriber: aaron.

Change 237709 had a related patch set uploaded (by Paladox):
Replace varchar with longtext

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

Change #237709 abandoned by Paladox:

[mediawiki/extensions/ConfirmAccount@master] Replace varchar with longtext for acr_comment and acd_comment

Reason:

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