jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/371063 )

Change subject: Convert date in Revision Slider tooltip to link
......................................................................


Convert date in Revision Slider tooltip to link

Bug: T171067
Change-Id: Iedcefdebe99138dc58bec50aaa7e9560d9101c96
---
M modules/ext.RevisionSlider.RevisionListView.js
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  WMDE-Fisch: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ext.RevisionSlider.RevisionListView.js 
b/modules/ext.RevisionSlider.RevisionListView.js
index 9d9a3b6..df9d0a7 100644
--- a/modules/ext.RevisionSlider.RevisionListView.js
+++ b/modules/ext.RevisionSlider.RevisionListView.js
@@ -242,7 +242,8 @@
                                .append(
                                        $( '<p>' ).append(
                                                $( '<strong>' ).text( mw.msg( 
'revisionslider-label-date' ) + mw.msg( 'colon-separator' ) ),
-                                               revision.getFormattedDate()
+                                               $( '<a>' ).attr( 'href', 
mw.util.getUrl( this, { oldid: revision.id } ) )
+                                                       .text( 
revision.getFormattedDate() )
                                        ),
                                        this.makeUserLine( revision.getUser(), 
revision.getUserGender() ),
                                        this.makeCommentLine( revision ),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iedcefdebe99138dc58bec50aaa7e9560d9101c96
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: master
Gerrit-Owner: Pmlineditor <pmlinedi...@live.com>
Gerrit-Reviewer: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Andrew-WMDE <andrew.kos...@wikimedia.de>
Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>
Gerrit-Reviewer: WMDE-Fisch <christoph.jau...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to