X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMergeHistory.php;h=368d4919d1cbebe74764adcccfda880af271dc93;hb=524d92b61f2a951200b00326cfac6b25a830acb6;hp=7e74cd5b1173266effadff47b86dd19a95ed45d7;hpb=6b66221bda831554bb40437a925e2625232f81ce;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMergeHistory.php b/includes/specials/SpecialMergeHistory.php index 7e74cd5b11..368d4919d1 100644 --- a/includes/specials/SpecialMergeHistory.php +++ b/includes/specials/SpecialMergeHistory.php @@ -152,16 +152,17 @@ class SpecialMergeHistory extends SpecialPage { if ( count( $errors ) ) { $this->showMergeForm(); - $this->getOutput()->addHTML( implode( "\n", $errors ) ); + $out->addHTML( implode( "\n", $errors ) ); } else { $this->showHistory(); } } function showMergeForm() { - $this->getOutput()->addWikiMsg( 'mergehistory-header' ); + $out = $this->getOutput(); + $out->addWikiMsg( 'mergehistory-header' ); - $this->getOutput()->addHTML( + $out->addHTML( Xml::openElement( 'form', array( 'method' => 'get', 'action' => wfScript() ) ) . @@ -185,6 +186,8 @@ class SpecialMergeHistory extends SpecialPage { '' . '' ); + + $out->addHelpLink( 'Help:Merge history' ); } private function showHistory() {