Podręcznik:$wgDebugAPI
Appearance
| API: $wgDebugAPI | |
|---|---|
| Loosens API security to allow for easier debugging |
|
| Wprowadzono w wersji: | 1.21.0 (Gerrit change 44575; git #258929f5) |
| Usunięto w wersji: | nadal w użyciu |
| Dozwolone wartości: | (boolean) |
| Domyślna wartość: | false |
| Inne ustawienia: Alfabetycznie | Według funkcji | |
Szczegóły
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.