jenkins-bot has submitted this change and it was merged.
Change subject: Make EditPage::tokenOK public for SemanticForms.
......................................................................
Make EditPage::tokenOK public for SemanticForms.
This partially reverts a7fbdd6503ba981
Bug: 67522
Change-Id: Ia390975c3a46f1016567f1bcdabe3ec536bb6af6
(cherry picked from commit b6662ee1a07fbc83447039d26d8f66c60310419a)
---
M includes/EditPage.php
1 file changed, 7 insertions(+), 2 deletions(-)
Approvals:
Reedy: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/EditPage.php b/includes/EditPage.php
index 9d512ab..35954ae 100644
--- a/includes/EditPage.php
+++ b/includes/EditPage.php
@@ -217,8 +217,13 @@
/** @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;
--
To view, visit https://gerrit.wikimedia.org/r/158286
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia390975c3a46f1016567f1bcdabe3ec536bb6af6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.24wmf15
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Brian Wolff <[email protected]>
Gerrit-Reviewer: Jackmcbarn <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Tpt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits