Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -375,23 +375,20 @@ |
376 | 376 | $this->oldIdChecked = 0; |
377 | 377 | |
378 | 378 | $wgOut->wrapWikiMsg( "<div class='mw-history-legend'>\n$1\n</div>", 'histlegend' ); |
379 | | - $s = Xml::openElement( 'form', array( 'action' => $wgScript, |
| 379 | + $s = Html::openElement( 'form', array( 'action' => $wgScript, |
380 | 380 | 'id' => 'mw-history-compare' ) ) . "\n"; |
381 | | - $s .= Xml::hidden( 'title', $this->title->getPrefixedDbKey() ) . "\n"; |
382 | | - $s .= Xml::hidden( 'action', 'historysubmit' ) . "\n"; |
| 381 | + $s .= Html::hidden( 'title', $this->title->getPrefixedDbKey() ) . "\n"; |
| 382 | + $s .= Html::hidden( 'action', 'historysubmit' ) . "\n"; |
383 | 383 | |
384 | 384 | $this->buttons = '<div>'; |
385 | 385 | $this->buttons .= $this->submitButton( wfMsg( 'compareselectedversions'), |
386 | | - array( |
387 | | - 'class' => 'historysubmit', |
388 | | - 'accesskey' => wfMsg( 'accesskey-compareselectedversions' ), |
389 | | - 'title' => wfMsg( 'tooltip-compareselectedversions' ), |
390 | | - ) |
| 386 | + array( 'class' => 'historysubmit' ) |
| 387 | + + $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'compareselectedversions' ) |
391 | 388 | ) . "\n"; |
392 | 389 | if( $wgUser->isAllowed('deleterevision') ) { |
393 | 390 | $float = $wgContLang->alignEnd(); |
394 | 391 | # Note bug #20966, <button> is non-standard in IE<8 |
395 | | - $this->buttons .= Xml::element( 'button', |
| 392 | + $this->buttons .= Html::element( 'button', |
396 | 393 | array( |
397 | 394 | 'type' => 'submit', |
398 | 395 | 'name' => 'revisiondelete', |
— | — | @@ -405,7 +402,7 @@ |
406 | 403 | if( $wgUser->isAllowed( 'revisionmove' ) ) { |
407 | 404 | $float = $wgContLang->alignEnd(); |
408 | 405 | # Note bug #20966, <button> is non-standard in IE<8 |
409 | | - $this->buttons .= Xml::element( 'button', |
| 406 | + $this->buttons .= Html::element( 'button', |
410 | 407 | array( |
411 | 408 | 'type' => 'submit', |
412 | 409 | 'name' => 'revisionmove', |