From a5d329758a562d795644a65276bb6e0ce4270308 Mon Sep 17 00:00:00 2001 From: tzhelyazkova Date: Thu, 15 Aug 2019 11:33:28 +0200 Subject: [PATCH] Replace expand icon with down indicator Bug: T212803 Change-Id: Ic0ae23bbc399ce70764457bbf4d789f113fb2f48 --- extension.json | 1 + src/RevisionSliderHooks.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/extension.json b/extension.json index bbbf2490..cb795de8 100644 --- a/extension.json +++ b/extension.json @@ -63,6 +63,7 @@ "oojs-ui", "oojs-ui.styles.icons-moderation", "oojs-ui.styles.icons-movement", + "oojs-ui.styles.indicators", "mediawiki.jqueryMsg", "ext.RevisionSlider.util", "ext.RevisionSlider.Settings", diff --git a/src/RevisionSliderHooks.php b/src/RevisionSliderHooks.php index 77f38489..0481def2 100644 --- a/src/RevisionSliderHooks.php +++ b/src/RevisionSliderHooks.php @@ -96,7 +96,7 @@ class RevisionSliderHooks { $toggleButton = new OOUI\ButtonWidget( [ 'label' => ( new Message( 'revisionslider-toggle-label' ) )->text(), - 'icon' => 'expand', + 'indicator' => 'down', 'classes' => [ 'mw-revslider-toggle-button' ], 'infusable' => true, 'framed' => false,