From 539cc3beb8781237b751d7250c3ea7686322051d Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Mon, 22 Dec 2008 19:52:49 +0000 Subject: [PATCH] * (bug 16760) Add CSS-class to action links of Special:Log --- RELEASE-NOTES | 7 +------ includes/LogEventsList.php | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d448185241..92eabc4777 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -238,6 +238,7 @@ The following extensions are migrated into MediaWiki 1.14: * Enable \cancel and \cancelto in texvc (recompile required) * Added 'UserCryptPassword' and 'UserComparePasswords' hooks to allow extensions to implement their own password hashing methods. +* (bug 16760) Add CSS-class to action links of Special:Log === Bug fixes in 1.14 === @@ -436,12 +437,6 @@ The following extensions are migrated into MediaWiki 1.14: * (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages for clarity over "previous/next" * (bug 16612) Fixed "noprint" class for Modern skin print style -* Section anchors now have an "id" attribute as well as a "name" attribute, - even when Tidy is not used -* (bug 16026) revision-info, revision-info-current, cannotdelete, - redirectedfrom and historywarning messages now use Wiki text rather than raw - HTML markup - === API changes in 1.14 === diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 06a5ec0052..740133a73f 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -346,6 +346,10 @@ class LogEventsList { $action = LogPage::actionText( $row->log_type, $row->log_action, $title, $this->skin, $paramArray, true ); } + if( $revert != '' ) { + $revert = '' . $revert . ''; + } + return "
  • $del$time $userLink $action $comment $revert
  • \n"; } -- 2.20.1