If I try to calculate the result of applying ccnorm to a long string (e.g. 9000 x 'a', or a typical value of the added_lines variable), I get the message "An unknown error occurred." but there is more information in the console:
"mw.Api error: " "http" Object { xhr: Object, textStatus: "error", exception: "Request-URI Too Large" }
My suggestion is to provide a more informative message for the user in this case.
Version: unspecified
Severity: normal