Manual:$wgSQLMode/pt-br

Detalhes
If this setting is not null, the MySQL server is sent the SQL query. See the MySQL documentation for more details.

The default is, which means that the query to set   is not issued. This can be used to skip the setting for performance reasons and assume the database admin (DBA) has done his best job.