Index: trunk/phase3/includes/diff/DifferenceInterface.php |
— | — | @@ -236,7 +236,7 @@ |
237 | 237 | } |
238 | 238 | // Build the link |
239 | 239 | if( $rcid ) { |
240 | | - $token = $wgUser->editToken( $rcid ); |
| 240 | + $token = $wgUser->editToken(); |
241 | 241 | $patrol = ' <span class="patrollink">[' . $sk->link( |
242 | 242 | $this->mTitle, |
243 | 243 | wfMsgHtml( 'markaspatrolleddiff' ), |
— | — | @@ -463,7 +463,7 @@ |
464 | 464 | # Add redundant patrol link on bottom... |
465 | 465 | if( $this->mRcidMarkPatrolled && $this->mTitle->quickUserCan('patrol') ) { |
466 | 466 | $sk = $wgUser->getSkin(); |
467 | | - $token = $wgUser->editToken( $this->mRcidMarkPatrolled ); |
| 467 | + $token = $wgUser->editToken(); |
468 | 468 | $wgOut->addHTML( |
469 | 469 | "<div class='patrollink'>[" . $sk->link( |
470 | 470 | $this->mTitle, |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -1307,7 +1307,7 @@ |
1308 | 1308 | } |
1309 | 1309 | |
1310 | 1310 | $sk = $wgUser->getSkin(); |
1311 | | - $token = $wgUser->editToken( $rcid ); |
| 1311 | + $token = $wgUser->editToken(); |
1312 | 1312 | |
1313 | 1313 | $wgOut->addHTML( |
1314 | 1314 | "<div class='patrollink'>" . |
— | — | @@ -2366,7 +2366,7 @@ |
2367 | 2367 | # If we haven't been given an rc_id value, we can't do anything |
2368 | 2368 | $rcid = (int) $wgRequest->getVal( 'rcid' ); |
2369 | 2369 | |
2370 | | - if ( !$wgUser->matchEditToken( $wgRequest->getVal( 'token' ), $rcid ) ) { |
| 2370 | + if ( !$wgUser->matchEditToken( $wgRequest->getVal( 'token' ) ) ) { |
2371 | 2371 | $wgOut->showErrorPage( 'sessionfailure-title', 'sessionfailure' ); |
2372 | 2372 | return; |
2373 | 2373 | } |