r111726 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111725‎ | r111726 | r111727 >
Date:05:50, 17 February 2012
Author:aaron
Status:ok (Comments)
Tags:
Comment:
Fixed call to deprecated function
Modified paths:
  • /trunk/extensions/FlaggedRevs/frontend/RevisionReviewFormUI.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/frontend/RevisionReviewFormUI.php
@@ -221,7 +221,7 @@
222222 $form .= Html::hidden( 'target', $article->getTitle()->getPrefixedDBKey() ) . "\n";
223223 $form .= Html::hidden( 'refid', $priorRevId, array( 'id' => 'mw-fr-input-refid' ) ) . "\n";
224224 $form .= Html::hidden( 'oldid', $revId, array( 'id' => 'mw-fr-input-oldid' ) ) . "\n";
225 - $form .= Html::hidden( 'wpEditToken', $this->user->editToken() ) . "\n";
 225+ $form .= Html::hidden( 'wpEditToken', $this->user->getEditToken() ) . "\n";
226226 $form .= Html::hidden( 'changetime', $reviewTime,
227227 array( 'id' => 'mw-fr-input-changetime' ) ) . "\n"; // id for JS
228228 $form .= Html::hidden( 'userreviewing', (int)($u === $this->user->getName()),

Comments

#Comment by Nikerabbit (talk | contribs)   07:44, 17 February 2012

Do not merge to 1.18.

Status & tagging log