jenkins-bot has submitted this change and it was merged.
Change subject: Add Talk button url
......................................................................
Add Talk button url
Even if javascript is disabled the button will be usable
and takes the user to the talk page.
Bug: T69819
Change-Id: I14fc533cc4bee07cc28402133b4568d8e997cfd0
---
M includes/skins/SkinMinervaBeta.php
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Florianschmidtwelzow: Looks good to me, but someone else must approve
Jdlrobson: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/skins/SkinMinervaBeta.php
b/includes/skins/SkinMinervaBeta.php
index e1e7741..1050a37 100644
--- a/includes/skins/SkinMinervaBeta.php
+++ b/includes/skins/SkinMinervaBeta.php
@@ -89,6 +89,7 @@
$talkTitle = $title->getTalkPage();
$buttons['talk'] = array(
'attributes' => array(
+ 'href' => $talkTitle->getLinkURL(),
'class' => MobileUI::iconClass(
'talk', 'before', 'talk icon-32px' ),
'data-title' =>
$talkTitle->getFullText(),
),
--
To view, visit https://gerrit.wikimedia.org/r/184795
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I14fc533cc4bee07cc28402133b4568d8e997cfd0
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Bmansurov <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits