Moved "action links" from LogEventsList to LogFormatter.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 30 Jun 2012 18:18:03 +0000 (20:18 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Wed, 15 Aug 2012 09:02:50 +0000 (11:02 +0200)
commite93fa029e2d61bc6d3ebc4e8cfeaaa246569d90f
treeb8a1dbc6989cd43e9fe36a1b4a06098ef06964e5
parentccf7a92c968e5b1b527c12f657fb56996191a86d
Moved "action links" from LogEventsList to LogFormatter.

* This allow extensions to set both action text and links directly
  from a subclass LogFormatter instead of having to use the LogLine
  hooks for this purpose.
* Moved stuff for logs that already use a subclass of LogFormatter
  there and the remaining in LegacyLogFormatter. I had to an hack
  there so that the pass-by-ref of the comment parameter in the
  LogLine hook still works.
* Removed RevisionDeleter::getLogLinks(), included it directly in
  DeleteLogFormatter::getActionLinks(); it have a so ugly signature
  that is very hard to use it somewhere else (and maintain backward
  compatibility too).
* Removed the message caching system in LogEventsList since it's
  not used anymore.
* Some misc cleanup to LogEventsList::logLine()

Change-Id: I96d696eed2ae35f5f5640e422ceb0a5b0c33babf
includes/logging/LogEventsList.php
includes/logging/LogFormatter.php
includes/revisiondelete/RevisionDeleter.php