Jump to content

Handbuch:$wgDebugAPI

From mediawiki.org
This page is a translated version of the page Manual:$wgDebugAPI and the translation is 38% complete.
API: $wgDebugAPI
Loosens API security to allow for easier debugging
Eingeführt in Version:1.21.0 (Gerrit change 44575; git #258929f5)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Wahrheitswert)
Standardwert:false

Details

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.