Lucas_Werkmeister_WMDE added a comment.

Apparently, for external identifiers the “publish” link becomes disabled at a length of 4592 characters, and for monolingual text, at 4566 characters. (Tested with strings of x characters, generated via printf '%*s' 4566 | tr ' ' 'x' | xclip, and using the en language code for monolingual text.) With values between 1501 and ~4500 characters, you still get the server-side error on submission.

I notice that the difference between 4566 and 4592 characters is exactly the same (26 characters) as the length of {"language":"en","value":}, the overhead of monolingual text values compared to plain string values. But that doesn’t explain why this apparent limit on data value length doesn’t seem to affect string-type properties.


TASK DETAIL
https://phabricator.wikimedia.org/T154660

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lea_Lacroix_WMDE, Stashbot, gerritbot, Tarrow, Lucas_Werkmeister_WMDE, Marsupium, Wostr, Addshore, Jheald, Daniel_Mietchen, Arbnos, Cirdan, Liuxinyu970226, thiemowmde, EgonWillighagen, Sebotic, Scott_WUaS, Sadads, Pasleim, Aklapper, Lydia_Pintscher, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to