From 92bee8e99f00c6f0f086cef7621b8896bb9e6e3c Mon Sep 17 00:00:00 2001 From: Matthew Flaschen Date: Fri, 3 Oct 2014 17:44:07 -0400 Subject: [PATCH] Use neutral instead of progressive for secondary edit page buttons Only applies if wgUseMediaWikiUIEverywhere is true. Bug: 71628 Change-Id: Iae6d28e989a7c5b92ba8b31e166aa7b5d3244baf --- includes/EditPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index edc2087b41..a423f260c7 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -3755,7 +3755,7 @@ HTML 'tabindex' => $tabindex, ) + Linker::tooltipAndAccesskeyAttribs( 'preview' ); $buttons['preview'] = Html::submitButton( wfMessage( 'showpreview' )->text(), - $attribs, array( 'mw-ui-progressive' ) ); + $attribs ); $buttons['live'] = ''; $attribs = array( @@ -3764,7 +3764,7 @@ HTML 'tabindex' => ++$tabindex, ) + Linker::tooltipAndAccesskeyAttribs( 'diff' ); $buttons['diff'] = Html::submitButton( wfMessage( 'showdiff' )->text(), - $attribs, array( 'mw-ui-progressive' ) ); + $attribs ); wfRunHooks( 'EditPageBeforeEditButtons', array( &$this, &$buttons, &$tabindex ) ); return $buttons; -- 2.20.1