Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231477

Change subject: Use messages that actually exist for tooltips in 
SidebarExpandWidget
......................................................................

Use messages that actually exist for tooltips in SidebarExpandWidget

Right now this results in the width toggle on topic pages getting
a tooltip referring to a description that isn't there; we may
want to use a different message there.

Bug: T103584
Change-Id: I9b2a3bd158e97dd7476fdb08998d9adb6b027761
---
M modules/flow/ui/widgets/mw.flow.ui.SidebarExpandWidget.js
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/77/231477/1

diff --git a/modules/flow/ui/widgets/mw.flow.ui.SidebarExpandWidget.js 
b/modules/flow/ui/widgets/mw.flow.ui.SidebarExpandWidget.js
index 359ecc4..f64de71 100644
--- a/modules/flow/ui/widgets/mw.flow.ui.SidebarExpandWidget.js
+++ b/modules/flow/ui/widgets/mw.flow.ui.SidebarExpandWidget.js
@@ -55,7 +55,8 @@
                                .toggleClass( 
'flow-ui-sidebarExpandWidget-collapsed', this.collapsed );
 
                        this.button.setIcon( 'topic-' + action );
-                       this.button.setTitle( mw.msg( 'flow-sidebar-' + action 
) );
+                       // Uses either flow-board-expand-description or 
flow-board-collapse-description
+                       this.button.setTitle( mw.msg( 'flow-board-' + action + 
'-description' ) );
 
                        // Change the preference
                        siderailState = this.collapsed ? 'collapsed' : 
'expanded';

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b2a3bd158e97dd7476fdb08998d9adb6b027761
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to