Manual:$wgShowSQLErrors/fr

Quand il vaut  (par défaut) tout message d'erreur de base de données affichera aussi « (SQL query hidden) »  plutôt que présenter le code SQL qui a causé l'erreur. Vous ne verrez donc que « ». Set  to   to see the actual query, which caused the error.

In MediaWiki 1.32, this setting got deprecated and is nonfunctional since then. Utilisez et  à la place.

Détails
Clearly showing the SQL will aid in debugging in the event of a database error, however...


 * Showing SQL to all users, will give crackers some clues about the database structure of your website, and might help them find security weaknesses.
 * SQL database errors are not supposed to occur during any normal MediaWiki operation, and so with luck you will never need to improve the error information
 * If you receive the error  from the API, enabling this setting will display a more descriptive error message in the info field than the default.

If you do see an error including "(SQL query hidden)", it can be useful to set this to  temporarily.

Cette variable remplace, qui a été supprimé.