Use neutral instead of progressive for secondary edit page buttons
authorMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 3 Oct 2014 21:44:07 +0000 (17:44 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 3 Oct 2014 21:44:07 +0000 (17:44 -0400)
Only applies if wgUseMediaWikiUIEverywhere is true.

Bug: 71628
Change-Id: Iae6d28e989a7c5b92ba8b31e166aa7b5d3244baf

includes/EditPage.php

index edc2087..a423f26 100644 (file)
@@ -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;