Page MenuHomePhabricator

Allow more than 255 characters in custom signatures by default
Closed, DeclinedPublic

Description

It's painful when customising my signature, because MediaWiki only allows custom signatures up to only 255 characters. I don't understand why it could not be 260 characters at least. I suggest the limit is changed from 255 characters to 265-275 or more. This will allow more flexibility in creating signatures, it will make it easier and it's not like that will clutter the wikitext a lot.

Related Objects

Event Timeline

Aklapper changed the task status from Open to Stalled.Apr 16 2021, 11:17 AM
Aklapper edited projects, added MediaWiki-Core-Preferences; removed MediaWiki-General.

Hi @YavBav09, thanks for taking the time to report this and welcome to Wikimedia Phabricator!
255 is the default per https://www.mediawiki.org/wiki/Manual:$wgMaxSigChars
Please explain underlying problems and why 255 characters are not sufficient and why you need such a long custom signature.
Your name is 8 characters, why would you need more than 255?

Aklapper renamed this task from Please allow more characters in custom signatures. to Allow more than 255 characters in custom signatures.Apr 16 2021, 11:18 AM

@Aklapper Well I want to change how my signature looks. I want to add custom CSS and other templates, but these things take up many characters, especially when the templates are substituted.

YavBav09 renamed this task from Allow more than 255 characters in custom signatures to Allow more than 255 characters in custom signatures by default.Apr 16 2021, 11:24 AM

Could you elaborate what's special that you need so much custom CSS and other templates, why I'd assume that the vast majority of users does not?

If this was done by default then it might be needed to convert database tables, plus page length might increase a bit.
For historical reference only: T10458.

@Aklapper I don't know.
One example - a signature I created has a background which is more suitable for white text, but to color a link I have to change the text for all links individually ([[User:YavBav09|{{color2|#fff|YavBav09}}]] and than the same for the talk link, and than for the other text). Again, I don't think changing the default limit to 260, 270 or something else like that will result in signatures that are much longer than current ones and it will make it easier to create the signature. There are some things I could remove - a smiley I put at the end, but I would prefer not removing it.

Requesting a software change without a good reason unfortunately won't make people spend time changing and testing code, I'm afraid. :-/
Plus personally I'd respectfully dare to say it's "easier to create the signature" by reducing lots of error-prone decoration markup around it instead of encuraging even more and more. I'd agree that the 255 is a bit arbitrary, but so would be "260, 270 or something else" until the next person comes and asks for 357 or 1089.