Manual:$wgLogTypes/ru

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgLogTypes and the translation is 0% complete.

Other languages:
English • ‎español • ‎polski • ‎русский • ‎中文 • ‎日本語
Special pages: $wgLogTypes
List of log types.
Появилось, начиная с версии:1.7.0 (r14373)
Удалено в версии:все еще используется
Допустимые значения:array of strings
Значение по умолчанию:see below
Другие настройки: По алфавиту | По функциональности

Details

List of log types. The logging system has two levels: an event type, which describes the general category and can be viewed as a named subset of all logs; and an action, which is a specific kind of event that can exist in that log type.

Default value

$wgLogTypes = array( '',
    'block',
    'protect',
    'rights',
    'delete',
    'upload',
    'move',
    'import',
    'patrol',
    'merge',
    'suppress',
);

Gotchas

If you are adding a log type, its name should be 32 bytes or less. If you choose a name longer than 32 bytes, the full name will be kept in the variable but only the first 32 bytes will go into the log table of the database, so that when you try to view records in your custom log, there will appear to be none.