Yaron Koren has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/341484 )

Change subject: Added preventClickjacking() for #autoedit
......................................................................

Added preventClickjacking() for #autoedit

Change-Id: I96186ba3ea1abfbe1b1b266106f4dba4ef6f986c
---
M includes/PF_ParserFunctions.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageForms 
refs/changes/84/341484/2

diff --git a/includes/PF_ParserFunctions.php b/includes/PF_ParserFunctions.php
index cf1501a..204d8fc 100644
--- a/includes/PF_ParserFunctions.php
+++ b/includes/PF_ParserFunctions.php
@@ -468,6 +468,7 @@
                global $wgContentNamespaces;
 
                $parser->getOutput()->addModules( 'ext.pageforms.autoedit' );
+               $parser->getOutput()->preventClickjacking( true );
 
                // Set defaults.
                $formcontent = '';

-- 
To view, visit https://gerrit.wikimedia.org/r/341484
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96186ba3ea1abfbe1b1b266106f4dba4ef6f986c
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/PageForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <yaro...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to