Added wfTransactionalTimeLimit() method and applied it
[lhc/web/wiklou.git] / includes / specials / SpecialMergeHistory.php
index 7e74cd5..7edf961 100644 (file)
@@ -109,6 +109,8 @@ class SpecialMergeHistory extends SpecialPage {
        }
 
        public function execute( $par ) {
+               $this->useTransactionalTimeLimit();
+
                $this->checkPermissions();
                $this->checkReadOnly();
 
@@ -159,9 +161,10 @@ class SpecialMergeHistory extends SpecialPage {
        }
 
        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 +188,8 @@ class SpecialMergeHistory extends SpecialPage {
                                '</fieldset>' .
                                '</form>'
                );
+
+               $this->addHelpLink( 'Help:Merge history' );
        }
 
        private function showHistory() {