Add $wgBufferSQLResults and $wgIgnoreSQLErrors - they were being used