From: Antoine Musso Date: Sun, 8 Jan 2006 19:10:36 +0000 (+0000) Subject: Second part of bug 4083: Special:Validation doesn't check wpEditToken X-Git-Tag: 1.6.0~674 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=b0855d3e370be1f8c76f7c2223244632dda3232a;p=lhc%2Fweb%2Fwiklou.git Second part of bug 4083: Special:Validation doesn't check wpEditToken --- diff --git a/includes/SpecialValidate.php b/includes/SpecialValidate.php index 1763be868a..f58facdd3d 100644 --- a/includes/SpecialValidate.php +++ b/includes/SpecialValidate.php @@ -526,9 +526,12 @@ class Validation { $this->deleteTopic( $id ); } + $token = htmlspecialchars( $wgUser->editToken() ); + # FIXME: Wikitext this $r .= "

" . $this->getParsedWiki( wfMsg( 'val_warning' ) ) . "

\n"; $r .= "
\n"; + $r .= ''; $r .= "\n"; $r .= "" . wfMsg( 'val_list_header' ) . "\n"; foreach( $this->topicList as $x => $y ) {