Index: trunk/phase3/includes/SpecialValidate.php |
— | — | @@ -526,9 +526,12 @@ |
527 | 527 | $this->deleteTopic( $id ); |
528 | 528 | } |
529 | 529 | |
| 530 | + $token = htmlspecialchars( $wgUser->editToken() ); |
| 531 | + |
530 | 532 | # FIXME: Wikitext this |
531 | 533 | $r .= "<p>" . $this->getParsedWiki( wfMsg( 'val_warning' ) ) . "</p>\n"; |
532 | 534 | $r .= "<form method='post'>\n"; |
| 535 | + $r .= '<input type="hidden" name="wpEditToken" value="' . $token .'" />'; |
533 | 536 | $r .= "<table>\n"; |
534 | 537 | $r .= "<tr>" . wfMsg( 'val_list_header' ) . "</tr>\n"; |
535 | 538 | foreach( $this->topicList as $x => $y ) { |