Manual:Logging to Special:Log/cs

Tato stránka popisuje, jak protokolovat akce do. (Logging to the application log is covered at .)

Example
This illustrates how you would code  entries for extensions. The log messages appear on the  page and can be filtered by, for example, the log name, user, title or date range.

In your extension setup file
The following should work in :

For core logs, the configuration is in.

In i18n/en.json file
Message documentation (qqq.json):

Adding links
To add a link to log entries, you should pass the page name etc. in the log parameters, and format that in your LogFormatter using. With other methods, non-html output (like UDP feed to IRC) will be broken.

See for an example LogFormatter with links.