From: Matthew Flaschen Date: Fri, 3 Oct 2014 21:44:07 +0000 (-0400) Subject: Use neutral instead of progressive for secondary edit page buttons X-Git-Tag: 1.31.0-rc.0~13694^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=92bee8e99f00c6f0f086cef7621b8896bb9e6e3c;p=lhc%2Fweb%2Fwiklou.git Use neutral instead of progressive for secondary edit page buttons Only applies if wgUseMediaWikiUIEverywhere is true. Bug: 71628 Change-Id: Iae6d28e989a7c5b92ba8b31e166aa7b5d3244baf --- 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;