Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/163236
Change subject: Stop user profile talk button from being special
......................................................................
Stop user profile talk button from being special
Make it a mediawiki ui component
Bug: 71071
Change-Id: I216ef5de354600da155511518d55768e7ff23f8a
---
M includes/specials/SpecialUserProfile.php
M less/specials/userprofile.less
2 files changed, 2 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/36/163236/1
diff --git a/includes/specials/SpecialUserProfile.php
b/includes/specials/SpecialUserProfile.php
index a0f0c1b..71fadb0 100644
--- a/includes/specials/SpecialUserProfile.php
+++ b/includes/specials/SpecialUserProfile.php
@@ -144,7 +144,7 @@
protected function getTalkLink() {
// replace secondary icon
$attrs = array(
- 'class' => 'icon-talk-blue button mw-ui-button icon
icon-text',
+ 'class' => 'icon-talk mw-ui-button icon icon-text',
'href' =>
$this->targetUser->getTalkPage()->getLocalUrl(),
);
// FIXME: What if this is the user's own profile? Should we
change the message?
diff --git a/less/specials/userprofile.less b/less/specials/userprofile.less
index 3050249..2162f71 100644
--- a/less/specials/userprofile.less
+++ b/less/specials/userprofile.less
@@ -82,12 +82,9 @@
clear: both;
padding: 2em 0 0;
- .icon-talk-blue {
+ .icon-talk {
margin-top: 1.5em;
- color: @linkColor;
padding-left: 40px;
- .background-image('images/profile/talk.png');
- background-color: #FFF;
background-position: left 10px center;
}
}
--
To view, visit https://gerrit.wikimedia.org/r/163236
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I216ef5de354600da155511518d55768e7ff23f8a
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