Manual:$wgDebugComments
Appearance
From mediawiki.org
This page is a translated version of the page Manual:$wgDebugComments and the translation is 73% complete.
| デバッグ: $wgDebugComments | |
|---|---|
| ログ出力の一部をページの HTML コメントに含める |
|
| 導入されたバージョン: | 1.1.0 未満 |
| 除去されたバージョン: | 使用中 |
| 許容される値: | (真偽値) |
| 既定値: | false |
| その他の設定: アルファベット順 | 機能順 | |
詳細
true の場合、一部のデバッグ項目が HTML 出力のコメントに表示される場合があります。
As of MediaWiki-1.8.2, function outputPage() writes one HTML comment near the beginning of the page body with the template:
<!-- Wiki debugging output: ... comment debug text ... -->
Debug text passed to function wfDebug() is included in the text of this debug comment unless an optional second parameter (named logonly) is passed to wfDebug() which evaluates as true.
本番環境のサイトでの使用はお勧めできません。 デバッグ コメントは、ページ閲覧の際に、セキュリティ上の潜在的なリスクがある情報をさらけ出します。
関連項目
- How to debug
- Manual:$wgDebugToolbar
- Extension:PurgeClickThrough allows you to use this setting to see debug messages from purge actions