| API: $wgDebugAPI | |
|---|---|
| Loosens API security to allow for easier debugging |
|
| Introduced in version: | 1.21.0 (Gerrit change 44575; git #258929f5) |
| Removed in version: | still in use |
| Allowed values: | (boolean) |
| Default value: | false |
| Other settings: Alphabetical | By function | |
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.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.