Fixes for r96546 (bug 33167):
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 8 Feb 2012 19:52:04 +0000 (19:52 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 8 Feb 2012 19:52:04 +0000 (19:52 +0000)
commit7bcb879bc38379348686b22e9d1514e3dedb32e2
tree066c9d66d0c7a39b84222c1c01e7910a31182aca
parent655c3a65447410c42bc14e4e593a7b35e60bf6f1
Fixes for r96546 (bug 33167):
* Made LegacyLogFormatter try to respect the 'plaintext' parameter.
* Changed LogPage::addEntry() to use LogFormatter to get the action text as such calls to LogPage::actionText() are broken.
* Added comment to LogPage::actionText(). It's only OK to call this from the legacy log formatter, fetched via the proper factory functions.
* Converted CheckUser to using LogFormatter so that cuc_actiontext values work. Eventually, cuc_actiontext should be replaced with new cuc_params, cuc_log_type, and cuc_log_action fields, similar to the RC table.
includes/logging/LogFormatter.php
includes/logging/LogPage.php