Manual:$wgHTMLFormAllowTableFormat/en

Details
Allows form components (e.g. HTMLForm) to render the output as tables. Setting this to false forces form components to always render as div elements!

This variable is temporary only and will be removed in the future.