Remove action=history from submit on HistoryAction
[lhc/web/wiklou.git] / includes / actions / HistoryAction.php
index aa1ec45..8a34aa4 100644 (file)
@@ -407,7 +407,6 @@ class HistoryPager extends ReverseChronologicalPager {
                $s = Html::openElement( 'form', array( 'action' => $wgScript,
                        'id' => 'mw-history-compare' ) ) . "\n";
                $s .= Html::hidden( 'title', $this->getTitle()->getPrefixedDbKey() ) . "\n";
-               $s .= Html::hidden( 'action', 'historysubmit' ) . "\n";
 
                $s .= '<div>' . $this->submitButton( $this->msg( 'compareselectedversions' )->text(),
                        array( 'class' => 'historysubmit' ) ) . "\n";