Was looking to
MDL-62660 when I detected that the tool_dataprivacy had a couple of descriptionformat database fields defined like int(1). Ideally they should be at very least 2.
That made me look in general, using the command below:
And I got:
This issue is about to:
1) Try to normalize all them to LENGTH="2" (most used)
2) Update all places in docs or template plugins where other LENGTH is specified.
3) Try to check for this continuously (MDLSITE).
Note that, really, we only have a hand of formats defined (0-4) (lib/weblib.php). So nothing is failing. In fact, surely changing the LENGTH="1" ones to the correct LENGTH="2" will enable up to 99 formats. Enough for sure.
Just it's about normalizing the formats everywhere. And start verifying it. Up to you to decide how strict we want to go.