https://bugzilla.wikimedia.org/show_bug.cgi?id=16921
--- Comment #2 from [email protected] 2009-01-07 21:29:29 UTC --- > Please note the the protection form has a maxlength of 255 already. This is correct, however not only the edit comment itself is stored in the rev_comment (which has the actual 255-byte-limit), but also the automated part of the comment ("Protected "[[<pagename>]]": ") and the selectable comment (for example "Counter-productive edit warring: "). So, in total you have (in this example, with the specified pagename and selectable comment): Protected "[[Main Page]]": Counter-productive edit warring: That's already 60 bytes, so you have only 195 bytes left - much less than the 255 byte limit the user sees! I don't think a fix his easy here: On one side, you don't know in advance which selectable comment will be picked (so you can't calculate the actual maximum in advance), on the other hand I don't think that there's going to be a change in the data type/255-byte-limit of rev_comment. But even where there's no easy fix, the least that should be done is to warn the user about this bug. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
