From 2682eb00aa37dc9ca203bd300d05424435b00cec Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 5 Oct 2014 19:08:15 +0200 Subject: [PATCH] Undefined variable: attrs in HistoryAction.php on line 202 Replaced by an array() and removed an unused variable near by. Follow-Up: I61bb3c358f755ed9f2153d94b744c1a9da02c456 Change-Id: I5c4dc22e1e9346bfc410a9dda4353d5297a5825e --- includes/actions/HistoryAction.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index dd0c94c710..3be8aff907 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -181,7 +181,6 @@ class HistoryAction extends FormlessAction { // Add the general form $action = htmlspecialchars( wfScript() ); - $className = 'historysubmit mw-history-compareselectedversions-button'; $out->addHTML( "
" . Xml::fieldset( @@ -199,7 +198,7 @@ class HistoryAction extends FormlessAction { $checkDeleted . Html::submitButton( $this->msg( 'allpagessubmit' )->text(), - $attrs, + array(), array( 'mw-ui-progressive' ) ) . "\n" . '
' -- 2.20.1