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.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Replace varchar with longtext for acr_comment and acd_comment | Paladox | mediawiki/extensions/ConfirmAccount | master | +11 -3 |
Event Timeline
Comment Actions
Change 237709 had a related patch set uploaded (by Paladox):
Replace varchar with longtext
Comment Actions
Change #237709 abandoned by Paladox:
[mediawiki/extensions/ConfirmAccount@master] Replace varchar with longtext for acr_comment and acd_comment
Reason: