Manual:$wgHTMLFormAllowTableFormat

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!