Unicodesnowman has uploaded a new change for review.
https://gerrit.wikimedia.org/r/182412
Change subject: Document OutputPage::$mPreventClickjacking
......................................................................
Document OutputPage::$mPreventClickjacking
Change-Id: I3b4f967743c810c5cbef094b3e30807cf0a668ca
---
M includes/OutputPage.php
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/12/182412/1
diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index 259e280..07fa94b 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -247,8 +247,9 @@
protected $mSquidMaxage = 0;
/**
- * @var bool
- * @todo Document
+ * @var bool Controls if anti-clickjacking / frame-breaking headers will
+ * be sent. This should be done for pages where edit actions are
possible.
+ * Setters: $this->preventClickjacking() and $this->allowClickjacking().
*/
protected $mPreventClickjacking = true;
--
To view, visit https://gerrit.wikimedia.org/r/182412
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b4f967743c810c5cbef094b3e30807cf0a668ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Unicodesnowman <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits