Manual:$wgDebugAPI

This page is a translated version of the page Manual:$wgDebugAPI and the translation is 88% complete.
API: $wgDebugAPI
デバッグを容易にするため API のセキュリティを緩める
導入されたバージョン:1.21.0 (Gerrit change 44575; git #258929f5)
除去されたバージョン:使用中
許容される値:(真偽値)
既定値:false

詳細

trueの場合、セキュリティ関連の制約が一部緩和されます。 例えば、POST のみに制限されているリクエストが、GET でも実行できるようになります。 ApiBase::dieWithErrorOrDebug() will only set a warning instead of failing. 有効にすると、追加的な警告ヘッダーがレスポンスに追加されます。