From: Alexandre Emsenhuber Date: Sun, 1 Aug 2010 15:50:30 +0000 (+0000) Subject: * (bug 24418) action=markpatrolled now requires a token X-Git-Tag: 1.31.0-rc.0~35799 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=3f6432ff1edc107e25f60874df50e3fc1656c093;p=lhc%2Fweb%2Fwiklou.git * (bug 24418) action=markpatrolled now requires a token --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 33ee8da527..185247d355 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -122,6 +122,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 671) The element has been whitelisted in user input. * (bug 24563) Entries on Special:WhatLinksHere now have a link to their history * (bug 21503) There's now a "reason" field when creating account for other users +* (bug 24418) action=markpatrolled now requires a token === Bug fixes in 1.17 === * (bug 17560) Half-broken deletion moved image files to deletion archive diff --git a/includes/Article.php b/includes/Article.php index c979c45759..f134099be0 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1316,6 +1316,7 @@ class Article { } $sk = $wgUser->getSkin(); + $token = $wgUser->editToken( $rcid ); $wgOut->addHTML( "