Bmansurov has uploaded a new change for review.
https://gerrit.wikimedia.org/r/184795
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/95/184795/1
diff --git a/includes/skins/SkinMinervaBeta.php
b/includes/skins/SkinMinervaBeta.php
index e1e7741..0a2e51c 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->getFullURL(),
'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: newchange
Gerrit-Change-Id: I14fc533cc4bee07cc28402133b4568d8e997cfd0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Bmansurov <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits