Merge "Re add wpScrolltop id in EditPage"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 1 Sep 2017 11:18:11 +0000 (11:18 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 1 Sep 2017 11:18:11 +0000 (11:18 +0000)
includes/EditPage.php

index 4451867..2860664 100644 (file)
@@ -3165,7 +3165,7 @@ class EditPage {
                $wgOut->addHTML( Html::hidden( 'wpStarttime', $this->starttime ) );
                $wgOut->addHTML( Html::hidden( 'wpEdittime', $this->edittime ) );
                $wgOut->addHTML( Html::hidden( 'editRevId', $this->editRevId ) );
-               $wgOut->addHTML( Html::hidden( 'wpScrolltop', $this->scrolltop ) );
+               $wgOut->addHTML( Html::hidden( 'wpScrolltop', $this->scrolltop, [ 'id' => 'wpScrolltop' ] ) );
 
                if ( !$this->checkUnicodeCompliantBrowser() ) {
                        $wgOut->addHTML( Html::hidden( 'safemode', '1' ) );