From b6662ee1a07fbc83447039d26d8f66c60310419a Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Fri, 29 Aug 2014 13:56:47 -0300 Subject: [PATCH] Make EditPage::tokenOK public for SemanticForms. This partially reverts a7fbdd6503ba981 Bug: 67522 Change-Id: Ia390975c3a46f1016567f1bcdabe3ec536bb6af6 --- includes/EditPage.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index b83569d8fe..c3b0dadec7 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -217,8 +217,13 @@ class EditPage { /** @var bool|stdClass */ protected $lastDelete; - /** @var bool */ - protected $mTokenOk = false; + /** @var bool + * This is public because SemanticForms uses it (bug 67522). + * However, please consider using this property publicly + * to be deprecated. + * @protected + */ + public $mTokenOk = false; /** @var bool */ protected $mTokenOkExceptSuffix = false; -- 2.20.1