Document OutputPage::$mPreventClickjacking
authorgladoscc <admin@glados.cc>
Thu, 1 Jan 2015 11:19:06 +0000 (22:19 +1100)
committergladoscc <admin@glados.cc>
Thu, 1 Jan 2015 11:24:27 +0000 (22:24 +1100)
Change-Id: I3b4f967743c810c5cbef094b3e30807cf0a668ca

includes/OutputPage.php

index 259e280..07fa94b 100644 (file)
@@ -247,8 +247,9 @@ class OutputPage extends ContextSource {
        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;