Manual:$wgSQLMode/pt-br

Detalhes
Modo SQL - o padrão é desligar todos os modos, incluindo estritos, se estiver definido.

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 their best job.