Manual:$wgIgnoreSQLErrors

Details
Whether to disable automatic generation of "we're sorry, but there has been a database error" pages.

This was replaced by  in 1.4.0