Manual:$wgDebugComments/ru
Отлаживание: $wgDebugComments | |
---|---|
Include portions of log output in page HTML comment |
|
Введено в версии: | Before 1.1.0 |
Удалено в версии: | всё ещё используется |
Допустимые значения: | (boolean) |
Значение по умолчанию: | false |
Другие настройки: По алфавиту | По функциональности |
Details
If on, some debug items may appear in comments in the HTML output.
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.
Use on production sites is not recommended. Debug comments reveal information in page views which could potentially expose security risks.
См. также
- How to debug
- Руководство:$wgDebugToolbar
- Extension:PurgeClickThrough allows you to use this setting to see debug messages from purge actions