summaryrefslogtreecommitdiff
path: root/includes/HTMLForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/HTMLForm.php')
-rw-r--r--includes/HTMLForm.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php
index fddc887b..12687dc4 100644
--- a/includes/HTMLForm.php
+++ b/includes/HTMLForm.php
@@ -311,6 +311,9 @@ class HTMLForm {
$this->displayErrors( $submitResult );
}
+ # For good measure (it is the default)
+ $wgOut->preventClickjacking();
+
$html = ''
. $this->mHeader
. $this->getBody()