diff options
Diffstat (limited to 'includes/FileRevertForm.php')
-rw-r--r-- | includes/FileRevertForm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/FileRevertForm.php b/includes/FileRevertForm.php index eb16693a..47084aad 100644 --- a/includes/FileRevertForm.php +++ b/includes/FileRevertForm.php @@ -88,11 +88,11 @@ class FileRevertForm { * Show the confirmation form */ protected function showForm() { - global $wgOut, $wgUser, $wgRequest, $wgLang, $wgContLang; + global $wgOut, $wgUser, $wgLang, $wgContLang; $timestamp = $this->getTimestamp(); $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction() ) ); - $form .= Xml::hidden( 'wpEditToken', $wgUser->editToken( $this->archiveName ) ); + $form .= Html::hidden( 'wpEditToken', $wgUser->editToken( $this->archiveName ) ); $form .= '<fieldset><legend>' . wfMsgHtml( 'filerevert-legend' ) . '</legend>'; $form .= wfMsgExt( 'filerevert-intro', 'parse', $this->title->getText(), $wgLang->date( $timestamp, true ), $wgLang->time( $timestamp, true ), |