| Lucas_Werkmeister_WMDE added a comment. |
The longest automatically inferred schema by the Wikidata Shape Expressions Inference tool is #23 at 718 039 bytes. MediaWiki’s default $wgMaxArticleSize is 2048 “kilobytes” (presumably kibibytes, i. e. 2048×2048 = 4 194 304 bytes?), so some schema length limit around one or two million bytes should be enough to store even large auto-generated schemas while not exceeding the underlying MediaWiki limit.
(I suppose it’s possible to craft schemas that are significantly longer in JSON format, but I’d expect most real schemas to be not much longer in JSON than they are in plain text.)
TASK DETAIL
EMAIL PREFERENCES
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Lydia_Pintscher, pdehaye, Michael, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, _jensen, abian, Wikidata-bugs, aude, Mbch331
Cc: Lucas_Werkmeister_WMDE, Aklapper, Lydia_Pintscher, pdehaye, Michael, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, _jensen, abian, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
