From 3f6432ff1edc107e25f60874df50e3fc1656c093 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 1 Aug 2010 15:50:30 +0000 Subject: [PATCH] * (bug 24418) action=markpatrolled now requires a token --- RELEASE-NOTES | 1 + includes/Article.php | 12 ++++++++++-- includes/diff/DifferenceInterface.php | 8 ++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) 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( "