Index: trunk/phase3/includes/SpecialSitesettings.php |
— | — | @@ -170,7 +170,6 @@ |
171 | 171 | $this->checkbox( 'wgDebugComments' ) . |
172 | 172 | $this->checkbox( 'wgLogQueries' ) . |
173 | 173 | $this->checkbox( 'wgDebugDumpSql' ) . |
174 | | - $this->checkbox( 'wgIgnoreSQLErrors' ) . |
175 | 174 | $this->fieldset( 'sitesettings-debugging-profiling', |
176 | 175 | $this->checkbox( 'wgProfiling' ) . |
177 | 176 | $this->textbox( 'wgProfileLimit' ) . |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -286,9 +286,6 @@ |
287 | 287 | $wgDBmysql4 = false; |
288 | 288 | $wgSqlTimeout = 30; |
289 | 289 | |
290 | | -/** use buffered queries by default */ |
291 | | -$wgBufferSQLResults = true; |
292 | | - |
293 | 290 | /** |
294 | 291 | * Other wikis on this site, can be administered from a single developer |
295 | 292 | * account. |
— | — | @@ -414,9 +411,12 @@ |
415 | 412 | $wgLogQueries = false; |
416 | 413 | $wgDebugDumpSql = false; |
417 | 414 | |
418 | | -/** Whether to disable automatic generation of "we're sorry, but there has been |
419 | | - * a database error" pages. */ |
420 | | -$wgIgnoreSQLErrors = false; |
| 415 | +/** |
| 416 | + * Whether to show "we're sorry, but there has been a database error" pages. |
| 417 | + * Displaying errors aids in debugging, but may display information useful |
| 418 | + * to an attacker. |
| 419 | + */ |
| 420 | +$wgShowSQLErrors = false; |
421 | 421 | |
422 | 422 | # Should [[Category:Dog]] on a page associate it with the |
423 | 423 | # category "Dog"? (a link to that category page will be |