Jdlrobson has uploaded a new change for review.

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

Change subject: Show user icon on Diff and Contributions special pages
......................................................................

Show user icon on Diff and Contributions special pages

Both show blank icons due to the glyph not being loaded. This
fixes that.

Bug: T143177
Change-Id: I5adec6689c544aa546e037d9355a821ff360d76c
---
M includes/specials/SpecialMobileContributions.php
M includes/specials/SpecialMobileDiff.php
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/99/306799/1

diff --git a/includes/specials/SpecialMobileContributions.php 
b/includes/specials/SpecialMobileContributions.php
index 6fcdf90..7656258 100644
--- a/includes/specials/SpecialMobileContributions.php
+++ b/includes/specials/SpecialMobileContributions.php
@@ -55,6 +55,7 @@
                                $out = $this->getOutput();
                                $out->addModuleStyles( [
                                        'mobile.pagelist.styles',
+                                       'skins.minerva.icons.images.scripts',
                                        'mobile.pagesummary.styles',
                                ] );
                                $out->setHTMLTitle( $this->msg(
diff --git a/includes/specials/SpecialMobileDiff.php 
b/includes/specials/SpecialMobileDiff.php
index 30828a4..be43efc 100644
--- a/includes/specials/SpecialMobileDiff.php
+++ b/includes/specials/SpecialMobileDiff.php
@@ -120,6 +120,7 @@
                ) );
 
                $output->addModuleStyles( [
+                       'skins.minerva.icons.images.scripts',
                        'mobile.pagesummary.styles',
                        // @todo FIXME: Don't add these styles. This is only 
needed for the user
                        // icon to the left of the username

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5adec6689c544aa546e037d9355a821ff360d76c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

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

Reply via email to