Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -381,6 +381,13 @@ |
382 | 382 | $s .= Xml::hidden( 'action', 'historysubmit' ) . "\n"; |
383 | 383 | |
384 | 384 | $this->buttons = '<div>'; |
| 385 | + $this->buttons .= $this->submitButton( wfMsg( 'compareselectedversions'), |
| 386 | + array( |
| 387 | + 'class' => 'historysubmit', |
| 388 | + 'accesskey' => wfMsg( 'accesskey-compareselectedversions' ), |
| 389 | + 'title' => wfMsg( 'tooltip-compareselectedversions' ), |
| 390 | + ) |
| 391 | + ) . "\n"; |
385 | 392 | if( $wgUser->isAllowed('deleterevision') ) { |
386 | 393 | $float = $wgContLang->alignEnd(); |
387 | 394 | # Note bug #20966, <button> is non-standard in IE<8 |
— | — | @@ -409,13 +416,6 @@ |
410 | 417 | wfMsg( 'revisionmoveselectedversions' ) |
411 | 418 | ) . "\n"; |
412 | 419 | } |
413 | | - $this->buttons .= $this->submitButton( wfMsg( 'compareselectedversions'), |
414 | | - array( |
415 | | - 'class' => 'historysubmit', |
416 | | - 'accesskey' => wfMsg( 'accesskey-compareselectedversions' ), |
417 | | - 'title' => wfMsg( 'tooltip-compareselectedversions' ), |
418 | | - ) |
419 | | - ) . "\n"; |
420 | 420 | $this->buttons .= '</div>'; |
421 | 421 | $s .= $this->buttons . '<ul id="pagehistory">' . "\n"; |
422 | 422 | return $s; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -190,6 +190,8 @@ |
191 | 191 | * (bug 23688) Correct mime types for Office 2007 OpenXML documents. |
192 | 192 | * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php |
193 | 193 | * (bug 23797) Xml::input() now allows '0' for the value parameter |
| 194 | +* (bug 23747) Make sure that on History pages, the RevDel button is not |
| 195 | + accidently activated when hitting enter. |
194 | 196 | |
195 | 197 | === API changes in 1.17 === |
196 | 198 | * (bug 22738) Allow filtering by action type on query=logevent. |