Page MenuHomePhabricator

[Bug] edit summary comment issue - missing */
Open, MediumPublic

Description

The edit summary here is not substituted: https://www.wikidata.org/w/index.php?title=Q19908762&action=history
It looks like the issue might be the missing closing */ at the end?

Event Timeline

Lydia_Pintscher added a project: Wikidata.

Yes, the */ is probably missing because the string got cut off, because it is too long. IIRC, the cutoff is even based on bytes, not characters, which makes it particularly problematic for non-ascii characters, which need more than one byte.

We could try to truncate the parameters inside the /*...*/ block, to avoid the */ being cut of. That way, substitution would work - but the message would be constructed using truncated parameters, possibly causing broken links.

It would also be nice to not have such a hard limit on the length of edit summaries or at least increase the limit (T6714).