Manual:$wgMaxSigChars

Details
Maximum wiki code length for customized signatures. Take into account this do not consider the length of the substituted templates used in the signature, so although  will be rejected if the template name has more than  (-10) characters,   will work even if the main page is a lot longer than.