Matthias Mullie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/95150


Change subject: (bug 56803) Recentchanges comment links formatted as external 
links
......................................................................

(bug 56803) Recentchanges comment links formatted as external links

Change-Id: I6cd498fa69723f2c963caae82353c39e0547b550
---
M includes/RecentChanges/Formatter.php
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/50/95150/1

diff --git a/includes/RecentChanges/Formatter.php 
b/includes/RecentChanges/Formatter.php
index 9b8b657..0c7c0c1 100644
--- a/includes/RecentChanges/Formatter.php
+++ b/includes/RecentChanges/Formatter.php
@@ -263,12 +263,18 @@
                // Build description message, piggybacking on history i18n
                $msg = $this->actions->getValue( $changeData['action'], 
'history', 'i18n-message' );
                $params = $this->actions->getValue( $changeData['action'], 
'history', 'i18n-params' );
-               return $this->buildMessage( $msg, (array) $params, array(
+               $message = $this->buildMessage( $msg, (array) $params, array(
                        $revision,
                        $this->templating,
                        $cl->getUser(),
                        $block
                ) )->parse();
+
+               return \Html::rawElement(
+                       'span',
+                       array( 'class' => 'plainlinks' ),
+                       $message
+               );
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/95150
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6cd498fa69723f2c963caae82353c39e0547b550
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <mmul...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to