Jack Phoenix has submitted this change and it was merged.

Change subject: Fix SystemGifts' CSS and backlink on Special:ViewSystemGift.
......................................................................


Fix SystemGifts' CSS and backlink on Special:ViewSystemGift.

Change-Id: Ia4cfdd4ccd29290c208d929fea5cb17ff91008b1
---
M SystemGifts/SpecialViewSystemGift.php
M SystemGifts/SystemGifts.php
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jack Phoenix: Verified; Looks good to me, approved



diff --git a/SystemGifts/SpecialViewSystemGift.php 
b/SystemGifts/SpecialViewSystemGift.php
index 9e90274..82f4d41 100644
--- a/SystemGifts/SpecialViewSystemGift.php
+++ b/SystemGifts/SpecialViewSystemGift.php
@@ -75,7 +75,7 @@
 
                        $profileURL = Title::makeTitle( NS_USER, 
$gift['user_name'] )->escapeFullURL();
                        $output .= '<div class="back-links">' .
-                               $this->msg( 'ga-back-link', $profileURL, 
$gift['user_name'] )->parse() .
+                               $this->msg( 'ga-back-link', $profileURL, 
$gift['user_name'] )->text() .
                        '</div>';
 
                        $message = $out->parse( trim( $gift['description'] ), 
false );
diff --git a/SystemGifts/SystemGifts.php b/SystemGifts/SystemGifts.php
index c965c34..d835443 100644
--- a/SystemGifts/SystemGifts.php
+++ b/SystemGifts/SystemGifts.php
@@ -43,7 +43,7 @@
 
 // Register the CSS with ResourceLoader
 $wgResourceModules['ext.socialprofile.systemgifts.css'] = array(
-       'styles' => 'SystemGifts.css',
+       'styles' => 'SystemGift.css',
        'localBasePath' => dirname( __FILE__ ),
        'remoteExtPath' => 'SocialProfile/SystemGifts',
        'position' => 'top'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia4cfdd4ccd29290c208d929fea5cb17ff91008b1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SocialProfile
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to