From: Roan Kattouw Date: Sat, 23 Oct 2010 16:56:07 +0000 (+0000) Subject: Revert r70640 per CR: don't expose unsalted edit tokens in URLs. Should instead chang... X-Git-Tag: 1.31.0-rc.0~34357 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=e331655cf017910f99861b122d1f1acdcf67628c;p=lhc%2Fweb%2Fwiklou.git Revert r70640 per CR: don't expose unsalted edit tokens in URLs. Should instead change the API's patrol functionality to salt patrol tokens (coming up shortly) --- diff --git a/includes/Article.php b/includes/Article.php index 07f3e5da08..71aae25702 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1308,7 +1308,7 @@ class Article { } $sk = $wgUser->getSkin(); - $token = $wgUser->editToken(); + $token = $wgUser->editToken( $rcid ); $wgOut->addHTML( "