Manuale:$wgDebugAPI

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgDebugAPI and the translation is 38% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎日本語
API: $wgDebugAPI
Loosens API security to allow for easier debugging
Introdotto nella versione:1.21.0
Rimosso nella versione:still in use
Valori concessi:(booleano)
Valore predefinito:false
Impostazioni: Alfabetiche | Per funzione

Dettagli

When true, some security-related restrictions are loosened. For example POST-only requests can now be made as GET. ApiBase::dieWithErrorOrDebug() will only set a warning instead of failing. An extra warning header will be added in the response if enabled.