From e24b686218e5da2e495365240c9a0ec74b0ebbc6 Mon Sep 17 00:00:00 2001 From: Yusuke Matsubara Date: Wed, 18 Feb 2015 23:00:21 +0900 Subject: [PATCH] Parse "retrievedfrom" and "lastmodifiedat" The two system messages should allow wikitext. The messages have been customized on many wikis to include additional links and other HTML features. Previously they allowed raw HTML. Follows up Ifd696ecd and Ibcc1b499. Bug: T86702 Bug: T87269 Change-Id: I6e67906a8c2a06c63620b0fb49226335ccb84650 --- includes/skins/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 6cc139bfb5..3d45d7d445 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -646,7 +646,7 @@ abstract class Skin extends ContextSource { return $this->msg( 'retrievedfrom' ) ->rawParams( '' . $url . '' ) - ->escaped(); + ->parse(); } /** @@ -863,7 +863,7 @@ abstract class Skin extends ContextSource { if ( $timestamp ) { $d = $this->getLanguage()->userDate( $timestamp, $this->getUser() ); $t = $this->getLanguage()->userTime( $timestamp, $this->getUser() ); - $s = ' ' . $this->msg( 'lastmodifiedat', $d, $t )->escaped(); + $s = ' ' . $this->msg( 'lastmodifiedat', $d, $t )->parse(); } else { $s = ''; } -- 2.20.1